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. Advertisements

  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. Advertisements

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. Bob

    vb.net - event handler

    Bob, Nov 21, 2003, in forum: ASP .Net
    Replies:
    12
    Views:
    9,289
  2. sonic
    Replies:
    1
    Views:
    653
    John Saunders
    Jan 7, 2005
  3. shruds
    Replies:
    1
    Views:
    1,251
    John C. Bollinger
    Jan 27, 2006
  4. Replies:
    1
    Views:
    944
    Damien
    Feb 22, 2007
  5. Replies:
    0
    Views:
    519
  6. RC

    How to recall add event from an Event handler??

    RC, Jan 6, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    385
    John Saunders
    Jan 6, 2005
  7. Adi
    Replies:
    2
    Views:
    323
  8. Replies:
    0
    Views:
    233
Loading...