473,326 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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

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 ?
Nov 19 '05 #1
3 1335
It allows and it works fine...
-jignesh

"Sachin" <Sa****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
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 ?

Nov 19 '05 #2
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

"Sachin" <Sa****@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
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 ?

Nov 19 '05 #3
You can create a text file, name it with .ascx as the extension and add:

<%@ Control Language="C#" %>

And then you have a user control.

-Brock
DevelopMentor
http://staff.develop.com/ballen
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 ?


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: 4Space | last post by:
In VC7.1, where is the project template to create a standard native C++ project?? I don't want MFC, I don't want Win32, I just want a nice basic standards compliant C++ dll. The best I seem to...
0
by: Daniel M | last post by:
I downloaded some code from www.logix4u.net that gives easy access to the parallel port while using windows XP. The example that came with the code was for vc++ 6.0 and included an entire project. My...
0
by: James | last post by:
Hi there, I'm a newbie to VC.Net and am wondering if there is a way to create a project template. I've used c++ builder for some year and know that there is an easy way to create a project...
0
by: bahadi | last post by:
Hell I try to make a project Template in C# but i can't add a template "dataAccess.cs" file to a folder "DALayer" de project template looks like this <VisualStudioProject><CSHARP ProjectType =...
1
by: Mark Huebner | last post by:
Why is the Windows Service project template in Visual Studio 2003 but absent in VS 2005 Pro.? Can I add a Windows Service template to my VS 2005? What do you recommend? Why did Microsoft leave...
3
VijaySofist
by: VijaySofist | last post by:
Hi All! I found Silverlight User Control Template is missing when i create a new Asp.Net project. Does Anybody know what to do to add that template to Visual Studio 2008 Thanks and Regards...
1
by: Linda Liu[MSFT] | last post by:
Hi Moondaddy, I downloaded your sample project and run it on my machine. I did see the problem on my side. The image drawn in the Button is not as clear as that one drawn in the Image control. ...
3
by: moondaddy | last post by:
I have a wpf app and need to apply a control template to a thumb at runtime, but I can't do it the same way I would apply a style. this is what I want to do: Thumb thm = new Thumb();...
2
by: Andy B | last post by:
I installed asp.net futures after installing vs2008. I can't find the "asp.net ajax futures enabled web application" template. How do I get my ajax templates back? Come to find out actually, all...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.