User-357021789 posted
hello,
I have a custom server control which I can load statically in aspx page. how do I do load it dynamically in code behind? I have tried the Page_Init event but the controls defined in the aspx page and their initiation code seems to have been loaded by the
time we hit Page_Init.
protected void Page_Init(object sender, EventArgs e)
{
Scon.ID = "dynamSCon";
Scon.value = "MyValue";
AddedControl(SCon,0);
}
I have a feelign that this is due to implemenation of the control itself
Can someone please help.