Hi,
I have a aspx page where i have three labels(say label1, label2...) and three buttons(say button1,button2....).
What i want it when i click Button1, label1 should be filled with some text but not instantly, after some time say 5-10 seconds...(and in the meantime,some message like "please wait"..)..
And same with Button2, label2 and so on....
Any suggestions...
I tried using Timer control(in AJAX extensions) but no success..
Thanks
Loading
SivaRamaKrishna RajuPosted Jan 17, 2011, 7:12 AM
Place these buttons and labels in update panels for each pair of button and label. and when you are clicking on an button place following code
protected void Button1_Click(object sender,eventargs e)
{
label1.text="your text";
system.threading.Sleep(5000);
}
and for each update panel you place an update progrees in that you place an label and its text is "Loading......."
this will helps your requirement please check it once and let me know if you face any issues.
Thanks & Regards.
V.S.R.K.Raju...