Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > VB -> C# event handler

Reply
Thread Tools

VB -> C# event handler

 
 
Eric Levin
Guest
Posts: n/a
 
      08-23-2003
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




 
Reply With Quote
 
 
 
 
Frank Drebin
Guest
Posts: n/a
 
      08-23-2003
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
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Event Handler that creates adds another event handler kaczmar2@gmail.com ASP .Net 1 02-22-2007 07:37 AM
problem in changing the actual event handler into our own event ashok.dhananjeyan@gmail.com Javascript 0 10-30-2006 02:32 PM
rendering Button inside Render() event, makes it loose its click event handler association sonic ASP .Net 1 01-07-2005 06:33 PM
How to recall add event from an Event handler?? RC ASP .Net Web Controls 1 01-06-2005 07:44 PM
Passing event from dynamically created element and event handler? Adi Javascript 2 02-23-2004 02:44 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57