Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MasterPages with UserControl
Message
 
To
06/03/2009 12:00:47
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01386241
Message ID:
01386250
Views:
38
>All,
>
>I have a Master Page and I have added a user control to it. The user control has an ajax Timer that will popup a window to notifiy the user that they have an expirating item and would need to proceed to checkout to secure the item.
>
>The problem I'm having is that the User Control is being rebuilt on the Master Page each time the user navigate to a new content page, thus resetting the timer interval and this is the behavior I do not want. I have tried loading properties in the viewstate but that doesn't work. (the control is rebuilt on each page, no viewstate)
>
>Has anyone encounter this problem? Any help would be welcome.
>
>Evans

Yeah, you're going to run into that problem anytime you navigate since, like you're seeing, it's rebuilding the page when you navigate. You could have your main page open another pop-up window that has the timer on it - it will stay on the same page even as you navigate through your main site. The other thing you could do is use frames - hide the frame that contains the timer.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform