I created a UserControl (MyUserControl.ascx). At design time I added this
control the a page (MyPage.aspx). No problem when I execute the page I see
it.
I'd like access to some method and properties from MyPage.aspx.cd (first
form Page_load but may be others).
Could you tell me how to access the method of my UserControl ?
Regards,
Niraj
"Gabriel" <nos...@nospam.com> wrote in message
news:uIhGraOr...@TK2MSFTNGP03.phx.gbl...
Do you mean create object at runtime ? Do you have an example ?
Thanks,
Regards,
-- bruce (sqlwork.com)
Thanks Bruce, I did that's work. :)
I have an another question. MyUserControl.ascx is dropped in a MyPage.aspx
page. In this usercontrol control there are 2 textbox and 1 button. When I
click on the button depeding some result with the 2 Textbox, I do a
"Response.Redirect". In the MyPage.aspx, how can I access to the control
*before* the redirect ?
Regards,