I have created one vb.net application.In that app i have pulled the data from asp.net through webservice.
so I call the web service method when the user click the save button.But it take long time to retrieve the data.
so now I want to display some loading symbol or image until the data is retrieved.
How I can do that?

Lalit MRank #1,186 · 1.5K reputationPosted Dec 23, 2009, 7:12 PM EST
Add the following JavaScript Code to your aspx page "text/javascript" language="javascript"> function pageLoad(sender, args) { var sm = Sys.WebForms.PageRequestManager.getInstance(); if (!sm.get_isInAsyncPostBack()) { sm.add_beginRequest(onBeginRequest); sm.add_endRequest(onRequestDone); } } function onBeginRequest(sender, args) { var send = args.get_postBackElement().value; if (displayWait(send) == "yes") { $find('PleaseWaitPopup').show(); } } function onRequestDone() { $find('PleaseWaitPopup').hide(); } function displayWait(send) { switch (send) { case "Save": return ("yes"); break; case "Save and Close": return ("yes"); break; default: return ("no"); break; } } reference link more info ----------- http://aspalliance.com/38_Javascript_Please_Wait_Message_Boxes.all http://blogs.crsw.com/mark/articles/642.aspx