Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear friends,

I use asp.net timer control in the master page, to reload the menu after every 10 second. I put the menu control and timer inside update panel and set the all update panel update mode to conditional. And the update panel trigger only timer tick event. This works well. But the problem is after 10-12 min. later it reload the other update panel content in the content page. Is anyone help me please?

How do I solve this problem. Or any alternative solution, please suggest.
Posted
Updated 7-Jun-15 19:23pm
v3
Comments
BacchusBeale 8-Jun-15 4:41am    
Why reloading menu? Doing that every 10 secs would be bad for user experience. Could you use JavaScript instead so only refreshes on the client-side browser?
K@nchan Dey 8-Jun-15 6:53am    
Brother,

I reload menu for every 10 secs, because in my project have a 'Cancel' menu item, when cancel request arrive, the will show the number of request as notification. So how do I solve this? Do you give me any idea.

Bro, Thanks for your reply
BacchusBeale 9-Jun-15 1:04am    
I think one way is with JavaScript to send Ajax request every 10 secs and if the data changed update the new amount.
K@nchan Dey 11-Jun-15 0:23am    
Brother, but I use ASP.Net default menu control. How do I reload this menu using javascript? Kindly suggest. [Note : I load all menu item from database. And I use VS-2010]

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