How to add Web User Control to WebUI project(Enterprise Template P

G

Guest

I started a new solution using enterprise template project, added WebUI
project to that.

Now I want to add web user control (*.ascx) to this project. But i'm not
getting web user control in the "Add New Item" pane.

Do Enterprise Template WebUI don't allow to create user controls. If it
allows then how to do that ?
 
W

William F. Robertson, Jr.

I believe user controls can only be defined and used within a web project.
If you are writting a webcontrol library, you will need to write your user
control as a Custom Server Control. You receive some benefits such as
design time functionality.

HTH,

bill
 

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

Top