Gonzalo,
How do I assign my user control an id? It's an ascx file (UserControl.ascx) which just contains <asp:> controls. It inherits the UserControl class from the codebehind (UserControl.ascx.
vb).
Peter,
I am already doing that to set other properties on the class.
In fact I have multiple controls in UserControl which relate to a User i.e. Name, Email, etc.
I set them to be visible or not depending on whether I want to display them or not.
So as I already have the UserControl class (cUserControl) I can easily add this property, but I'm loading the control and adding it to the placeholder in the Page_Init event now.
I need to access that value when I get to the Page_Load event?
Do you think I can safely move the page_init code back to the page_load event?
This would really tie things up!
Thanks,
Paul
http://www.thewebsiteshop.co.uk