Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello all

I saw numbers of example for display loading image while postback .it only show loading image while starting of postback not until the postback finishes. and they also used thread concept. and loading image show only given thread time.

but my question is that:
how do i show a loading image until the postback finishes without update panel .
please help.

Thanks in advance.
Posted
Comments
krt0394 27-Apr-16 4:07am    
efwwef

use ajax method.................:) and do a xhr request
 
Share this answer
 
 
Share this answer
 
Comments
manvendra patel 23-Jul-15 5:07am    
hello DamithSL sir .firstly thanks for your response . i tried your link .but not satisfied my condition . it show only given time (System.Threading.Thread.Sleep(5000));
DamithSL 23-Jul-15 5:14am    
thread sleep only used for simulate long running process.
manvendra patel 23-Jul-15 5:30am    
but when i click on Load Customer Button .then it show loading image only for 2-3 second . but Gridview still loading.why ?
manvendra patel 23-Jul-15 11:13am    
okey i understand it . i think it works client side only. when server respond. then it closed .is there any code to show loading image until postback completed . for example -
if i am binding gridview with thousand row on button click .then i want to show loading image untill gridview fully loaded with thousand data . ?
 
Share this answer
 

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