Hey.
I have a usercontrol where i build the grid programmatic in code behind. This works fine if i add the usercontrol declarative.
But if i dynamical insert the usercontrol using loadUsercontrol, this won't work. It looks like the isPostback always is true.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
DefineGridStructure();
}
I have a usercontrol where i build the grid programmatic in code behind. This works fine if i add the usercontrol declarative.
But if i dynamical insert the usercontrol using loadUsercontrol, this won't work. It looks like the isPostback always is true.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
DefineGridStructure();
}