Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have an issue related to update panels. In my project i'm trying to show reminders; for that i added a timer inside an update panel to check for reminders. In it's tick event i wrote the code for it. This timer is inside a user control which is placed in all pages. I have used update panels in all other pages and used a common update progress for it. Now i will come to the issue

In the timer tick event all the controls inside the other update panel also getting refreshed. I'm able to prevent this by making the update panels in the pages as conditional. But i have many pages and there are some issues in making it as conditional.

Is there any way to isolate the update panel with timer. I want only the controls in that specific update panel to be refreshed.

With regards
Nidhin
Posted

1 solution

1. Are you using a user control with UpdatePanel + Timer?
2. I am assuming the common Update method is updating the all instances of update panel and not the timer inside the UpdatePanel .
3. You can get the specific instance of the UpdatePanel and fire the Update()
 
Share this answer
 
Comments
nidhinp25 7-Dec-11 1:59am    
I have one update panel with timer and many other update panels with some other controls. I want to restrict the post back to the update panel with timer in timer tick. The thing is other update panel's mode is 'Always'.

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