asp VB.NET
How can I pass a value to my user controls in the example below From the Master Page?... it's driving me nuts!
The scenario:
I have tried to illustrate my scenario above because I am rubish at explaining myself and the real code would be far to much to post, and is split across multiple pages....ie: master / content / user control ..etc.
I have managed to pass a value to user control 1 by creating it dynamicaly and setting an attribute for it before adding adding it to the updatepanel.con tenttemplate. But cant do it this way for user control 2!
Thanks in advance.
Tim
How can I pass a value to my user controls in the example below From the Master Page?... it's driving me nuts!
The scenario:
Code:
<MasterPage> <UpdateTrigger/> <ContentPlaceHolder 1> < asynch UpdatePanel> <UserControl 1/> </ asynch UpdatePanel> </ContentPlaceHolder> <ContentPlaceHolder 2> < asynch UpdatePanel> *** <UserControl 2/> *** </ asynch UpdatePanel> </ContentPlaceHolder> </MasterPage>
I have managed to pass a value to user control 1 by creating it dynamicaly and setting an attribute for it before adding adding it to the updatepanel.con tenttemplate. But cant do it this way for user control 2!
Thanks in advance.
Tim
Comment