C
Chris A.
All,
I have a custom webcontrol (A) that exposes a custom collection
(implementing CollectionBase) of type custom webcontrol (B).
Webcontrol A
|___Collection of Type WebControl B
|___WebControl B
I have written a custom typeconverter for both the collection and webcontrol
B. The typeconverter for the collection can successfully ConvertTo and
ConvertFrom Viewstate. But I lose the click eventhandler in webcontrol B even
though the top webcontrol A generates a postback on the server. How can I (1)
sink the click event for webcontrol B and (2) bubble that up into the
collection so that I can generate an event for webcontrol A to consume?
Thanks.
I have a custom webcontrol (A) that exposes a custom collection
(implementing CollectionBase) of type custom webcontrol (B).
Webcontrol A
|___Collection of Type WebControl B
|___WebControl B
I have written a custom typeconverter for both the collection and webcontrol
B. The typeconverter for the collection can successfully ConvertTo and
ConvertFrom Viewstate. But I lose the click eventhandler in webcontrol B even
though the top webcontrol A generates a postback on the server. How can I (1)
sink the click event for webcontrol B and (2) bubble that up into the
collection so that I can generate an event for webcontrol A to consume?
Thanks.