J
Johannes Eble
Hello community,
let's say I have a web form containing two User Controls, usrA and
usrB, respectively.
usrA.ascx has (among others) a Dropdown List ddL1 with
Autopostback=True and a ddL1_SelectedIndexChanged Handler.
usrB itsself has a child user control, usrBB.
I must delegate the ddL1_SelectedIndexChanged Event from usrA to
usrBB. How do I do that?
Is it really necessary to delegate (or bubble) the event from usrA to
the web form, then delgate the event from the web form to usrB, and
finally delegate the event from usrB to usrBB?
It seems that there is no way to 'reverse-bubble' the event from the
web form to usrBB or - better - to 'cross-bubble' the event from usrA
to usrBB.
In other words, there is no way for usrBB to access usrA (for event
registering) without extremly ugly casts.
Any ideas?
Best regards
Johannes
let's say I have a web form containing two User Controls, usrA and
usrB, respectively.
usrA.ascx has (among others) a Dropdown List ddL1 with
Autopostback=True and a ddL1_SelectedIndexChanged Handler.
usrB itsself has a child user control, usrBB.
I must delegate the ddL1_SelectedIndexChanged Event from usrA to
usrBB. How do I do that?
Is it really necessary to delegate (or bubble) the event from usrA to
the web form, then delgate the event from the web form to usrB, and
finally delegate the event from usrB to usrBB?
It seems that there is no way to 'reverse-bubble' the event from the
web form to usrBB or - better - to 'cross-bubble' the event from usrA
to usrBB.
In other words, there is no way for usrBB to access usrA (for event
registering) without extremly ugly casts.
Any ideas?
Best regards
Johannes