G
Gabriel
Hello,
I create a user control, no problem at design time.
But when I try to load at runtime, no error but I don't see it.
The code is :
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
_myUserControl = new myUserControl();
Page.Controls.Add(_productSearch);
}
}
Any idea why ?
Thanks,
I create a user control, no problem at design time.
But when I try to load at runtime, no error but I don't see it.
The code is :
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack == false)
{
_myUserControl = new myUserControl();
Page.Controls.Add(_productSearch);
}
}
Any idea why ?
Thanks,