Events

S

Shawn B.

Are there any examples anywhere of a custom webcontrol (written in VB) that
implements multiple events?


I've written an entire framework of controls and lots of common functions
and classes for reuse and I do not want to have to re-write it in C# this
far along (thousands of lines) just so I can use the "optimized"
eventhandler feature of C# that isn't supported in VB (according to
"Developing MS Server Controls and Components" MSPress).

So far, every example I've seen that uses multiple events is in C# and I am
thus far unable to make my controls identify the various events unquely as
required.

Also, how can I prevent from having a postback generated if there is not
event being consumed in the page?


Thanks,
Shawn
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top