event binding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Dupont

    #1

    event binding

    I'm writing a custom control firimg event
    ideally I want the user to write the method name to be called in the .aspx
    like that

    <my:control runat=server OnEvent="HOnEve nt>blablabla</my:control>
    what shoudl I write in the .cs file to do that, it's unclear to me ...


    also, in fact it's a templated control which could contain list of itemns,
    themselves containing list of items, etc....
    I want the event to be fired up the hierarchy, so I just write
    OnEvent="HOnEve nt" in the top control and I catch it, how could I do that ?

    thanks, ...


Working...