Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Usercontrol problem
Message
From
17/08/2011 11:16:23
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Usercontrol problem
Miscellaneous
Thread ID:
01521179
Message ID:
01521179
Views:
92
Here is a question I posted to the MS forums but have not been able to get an answer.

Most of the pages in my project begin with a fairly complex Formview. The selected value of the formview is used to maintain a session variable "CurrentProject" which is used to direct various queries throughout the project. Because of the complexity of the formview, I want to construct a user control which includes the formview and its datasource plus a couple of other controls embedded in it. I need to be able to reset the session variable when the formview is paged but have not been able to figure out how to do that. I have created a public property for the user control named selectedvalue but can't seem to get it configured right or even tell if that is the right approach. Can someone help please?

The bottom line question is : How can I reset the value of a session variable to equal the selected value of a formview when the formview is part of a user control?

Does anyone here on UT know the answer to this queston?

Thanks
Reply
Map
View

Click here to load this message in the networking platform