M
Mike Housey
For a simple explanation of my problem:
I have created a web form(wf1.aspx) containing a panel
and 1 user control(uc.ascx) containg a dropdown list and a
text box.
On the PageLoad Event of wf1:
if(!IsPostBack)
{
Control ctl = LoadControl("uc.ascx");
Panel1.Controls.Add(ctl);
Session["ctl"] = ctl;
}
else
{
Control ctl = (Control)Session["ctl"];
Panel1.Controls.Add(ctl);
}
My Problem is that the on_click event of the dropdown list
is called 1x on the first click 2x on the second click,3x
on the third.... and so on.
Can anyone please tell me whazzup ? This behaviour does
NOT occour in .net 2003, only in 2002 and framework 1.3
I have created a web form(wf1.aspx) containing a panel
and 1 user control(uc.ascx) containg a dropdown list and a
text box.
On the PageLoad Event of wf1:
if(!IsPostBack)
{
Control ctl = LoadControl("uc.ascx");
Panel1.Controls.Add(ctl);
Session["ctl"] = ctl;
}
else
{
Control ctl = (Control)Session["ctl"];
Panel1.Controls.Add(ctl);
}
My Problem is that the on_click event of the dropdown list
is called 1x on the first click 2x on the second click,3x
on the third.... and so on.
Can anyone please tell me whazzup ? This behaviour does
NOT occour in .net 2003, only in 2002 and framework 1.3