How to create web user controls?

  • Thread starter Thread starter abc my vclass
  • Start date Start date
A

abc my vclass

I created a web user control which only has a combo box control. When I
drop that web user control to my web page. The code of web page should
expect add a line as:

protected mynamespace.myCombobox myCombobox1;

But I don't know why my IDE has not add this line in code?
What is the correct way to create a web user control?
 
It just doesent.

Accept it and put the line in yourself. I know its annoying, but there you
are. This is in contrast to dragging a custom control Which Is compiled in a
dll from the toolbox whereas in such cases the line is automatically
inserted for you.
 

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

Back
Top