Allow users to override events inside a web usercontrol (ascx)

Discussion in 'ASP .Net' started by jjbutera@hotmail.com, Jan 24, 2006.

  1. Guest

    I have a usercontrol that has a button on it. I want to run "default"
    code when the button is clicked. However, if the user of my control
    wishes to perform their own code, I want it to be "overridable". I know
    the overrides structure applies to derived classes, but I want similar
    behavior. I think I need to use delegates, but I need help getting
    started (VB.Net).

    Can anybody post code on how to do this?

    Jason
     
    , Jan 24, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rajesh Tiwari

    Can we use a usercontrol inside a usercontrol

    Rajesh Tiwari, Aug 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    444
    Rajesh Tiwari
    Aug 12, 2003
  2. nail
    Replies:
    0
    Views:
    1,581
  3. Ryan Taylor
    Replies:
    1
    Views:
    718
    Ryan Taylor
    Sep 9, 2004
  4. Kylin

    <deny users="?" /> <allow users="*" />

    Kylin, May 17, 2005, in forum: ASP .Net Security
    Replies:
    2
    Views:
    685
    Ravichandran J.V.
    May 19, 2005
  5. Replies:
    2
    Views:
    563
Loading...

Share This Page