VB -> C# event handler

Discussion in 'ASP .Net Web Controls' started by Eric Levin, Aug 23, 2003.

  1. Eric Levin

    Eric Levin Guest

    How do I add a custom handler to a Web Page.

    In VB:
    Event LinkButtonClick(ByVal PageNo As Integer)

    In C#?
    Seems like I have to create an event class in order to do this. Am I right?

    Thanks,

    Eric Levin
    Sounddogs.com
     
    Eric Levin, Aug 23, 2003
    #1
    1. Advertising

  2. Eric Levin

    Frank Drebin Guest

    Yes, create a delegate class and then assign it in your main app...

    "Eric Levin" <> wrote in message
    news:uI$...
    > How do I add a custom handler to a Web Page.
    >
    > In VB:
    > Event LinkButtonClick(ByVal PageNo As Integer)
    >
    > In C#?
    > Seems like I have to create an event class in order to do this. Am I

    right?
    >
    > Thanks,
    >
    > Eric Levin
    > Sounddogs.com
    >
    >
    >
    >
     
    Frank Drebin, Aug 23, 2003
    #2
    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. sonic
    Replies:
    1
    Views:
    538
    John Saunders
    Jan 7, 2005
  2. Replies:
    1
    Views:
    707
    Damien
    Feb 22, 2007
  3. RC

    How to recall add event from an Event handler??

    RC, Jan 6, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    264
    John Saunders
    Jan 6, 2005
  4. Adi
    Replies:
    2
    Views:
    193
  5. Replies:
    0
    Views:
    149
Loading...

Share This Page