Information générale
Titre:
Usercontrol problem
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement