vendredi 10 mars 2017

MVC: Trigger loading GIF when controller is processing

I got a loading gif feature in my ajax call. In all ajax call, I can trigger the loading gif.

But I want the loading gif to be triggered when I trigger a process in a controller too. The controller function is not being triggered by ajax call so my loading gif is not showing.

Is there any way I can trigger loading gif when controller is processing?

Aucun commentaire:

Enregistrer un commentaire