-1

I want open jQuery div spinner on asp.net submit and do some business logic and hide or close the spinner? How can I do that? I need it in regular asp.net application.

Please share me if you have samples or articles?

Aleksandar Toplek
  • 2,792
  • 29
  • 44
James123
  • 11,184
  • 66
  • 189
  • 343

2 Answers2

1

There is a nice jquery plugin called blockui:

http://www.malsup.com/jquery/block/

Here are few examples how to use it in asp.net application:

ASP.net button Jquery BlockUI

http://encosia.com/using-jquery-to-enhance-aspnet-ajax-progress-indication/

Community
  • 1
  • 1
Greg Oks
  • 2,700
  • 4
  • 35
  • 41
0

Hey It seems like you want to show a loader or loading gif image that should tell the user that something is happening and be patient! As such you have not specified whether you are using web forms or mvc, For web forms, you can use update progress which you can use with update panel see here If you are using mvc, with a combination of ajax in jquery way, you might want to use ajaxstart or ajaxsetup. If you are using jquery's ajax way with web forms, you can apply the same logic with web forms too. But be specific what you are looking after!

KKS
  • 3,600
  • 1
  • 27
  • 54