I am using ajax timer in asp page to show digital clock.
The way i did is,on the timer_tick event
i wrote
protected void Timer1_Tick(object sender, EventArgs e)
{
lblcurrenttime.Text = DateTime.Now.ToShortTimeString();
}
so that on each tick,i am getting current time,the way is fine for me,
and i put this timer and lblcurrenttime LABEL control in an UpdatePanel.
i have 1 more Update Panel in the same page.and it contains two textboxes,list boxes etc...
the probelm is,on runtime,when i putting values to the textboxes in the second updatepanel,on each second,it becomes cleared,i think its closely related to that timer.....
Please help me to avoid the same