M
Michel
Hi all,
I just created a new usercontrol, which basicly display's a
dropdowlist.
For this control, I created the a new SelectedIndexChanged event to
raise the SelectedIndexChanged event of the dropdowlist to the parent.
This all runs fine, but every time I open a page which contains my
control, I get an "The type 'System.Web.UI.UserControl' has no event
named 'SelectedIndexChanged'" on the line (in the parent) where I hook
the event :
this.mycontrol.SelectedIndexChanged += new
System.EventHandler(this.mycontrol_SelectedIndexChanged);
Anyone who has an idea why?
Thanks,
M.
I just created a new usercontrol, which basicly display's a
dropdowlist.
For this control, I created the a new SelectedIndexChanged event to
raise the SelectedIndexChanged event of the dropdowlist to the parent.
This all runs fine, but every time I open a page which contains my
control, I get an "The type 'System.Web.UI.UserControl' has no event
named 'SelectedIndexChanged'" on the line (in the parent) where I hook
the event :
this.mycontrol.SelectedIndexChanged += new
System.EventHandler(this.mycontrol_SelectedIndexChanged);
Anyone who has an idea why?
Thanks,
M.