Base solution for your next web application
Open Closed

Registering users with setBusy indicator - Asp.net Core + Jquery #6160


User avatar
0
sbenfares created

Hi,

I would like to register users with a form displaying a SetBusy indicator when the form is submitted.

In ANZ default project the register method is done in the controller, and there is no way to use Ajax for registering and display an setBusy animation.

What is the best practice to add a setBusy indicator for registration in Asp.net core + Jquery ?

Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sbenfares

    You can handle form's submit event using JQuery and use abp.ui.setBusy function to disable entire page. On success handler of the request, you can use abp.ui.clearBusy function.

    Or, you can use abp.ajax https://aspnetboilerplate.com/Pages/Documents/Javascript-API/AJAX

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)