Click here to Skip to main content
15,435,745 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir, how to use ajax loading panel indicator .Plz help
Posted
Comments
Thanks7872 4-Jul-13 2:56am     CRLF
Is google down at your end?Refer to this link AJAX loading Panel
Joezer BH 4-Jul-13 4:07am    
What have you tried?

1 solution

Hi rohit,

Could you try the following solution, i think this is what you need.
Add Div element for Ajax loader image processing.

XML
<div id="ajax_loader">
            <img  src='@Url.Content("~/Areas/images/mozilla_blu.gif")' style="padding-left:40px;" alt='' /></div>


Add javascript methods for Hide and Show in Ajax loader.
SQL
function UpdateShowPanel(UpdateMessage) {
           $("#ajax_loader").show();
          
       }
       function UpdateHidePanel() {
           $("#ajax_loader").hide();
       }


Then Call this method where you want to show or hide. if in case you are using Update panel
just call the UpdateShow method only.
 
Share this answer
 
Comments
Rohit 2012 5-Jul-13 2:44am    
how can i hide this loader on my page load bcz it load every time when i run the page
Karthikeyan Mathiyalagan 9-Jul-13 9:34am     CRLF
Rohit, Default page load you can disable the dive element, when you want to show it,enable div element

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900