Cusom Control

T

TC

I created a custom Web Control that contains a drop down, a label and an
Image. When I add this control to any of my web pages it does not generate
the:

Protected WithEvents MyControl as MyCustomControl

In the web forms generated code, so I cannot set any of ots properties or
get the values. How can I have this line added automatically in every web
form I drop the control in?

TIA
 

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

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top