Hello everyone,
I'd like the get the TextBox object which is an other WebuserControl
created dynamically.
So, I have my page "medianew.aspx"
in this page I have a form about a media, if the user select for
example the media type "DVD" I'll add a webusercontrol in a specific
placeholder with the command:
ph_detail.Controls.add( LoadControl("dvd.ascx") );
So when the user clicks on the "save" button which is in my page
medianew.aspx, I want to access to the textbox
in the webusercontrol.
I tried two solutions :
1st : try to get the control user "FindControl", I get a null value
2nd : instanciate the control in a global property, the pointer still
exits after adding it to my page, but the button is clicked, the
pointer is "null"...
does someone have an idea?
Thank you very much!