Hi all,
I just created a new usercontrol, which basicly display's a
dropdowlist.
For this control, I created the a new SelectedIndexCh anged event to
raise the SelectedIndexCh anged 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 'SelectedIndexC hanged'" on the line (in the parent) where I hook
the event :
this.mycontrol. SelectedIndexCh anged += new
System.EventHan dler(this.mycon trol_SelectedIn dexChanged);
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 SelectedIndexCh anged event to
raise the SelectedIndexCh anged 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 'SelectedIndexC hanged'" on the line (in the parent) where I hook
the event :
this.mycontrol. SelectedIndexCh anged += new
System.EventHan dler(this.mycon trol_SelectedIn dexChanged);
Anyone who has an idea why?
Thanks,
M.
Comment