many webusercontrols responding to one event

  • Thread starter Thread starter GenCode
  • Start date Start date
G

GenCode

I am trying to create a page with many of the same webusercontrols that
I can have all my dynamically created and I want each of those
webusercontrols to respong to one event on the page.

How can I do this?

Making each one of my webusercontrols respond to one event globally.
So 1 event fires and all web user controls respond to it.

Ed,
 
create a control to fire the event. then all webcontrols register a
handler for the common event. say you have a button, then all the
webcontrols can register a handler (delgate) of the buttons onclick.



-- bruce (sqlwork.com)
 
Back
Top