473,785 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add Web User Control to WebUI project(Enterpr ise 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 1359
It allows and it works fine...
-jignesh

"Sachin" <Sa****@discuss ions.microsoft. com> wrote in message
news:3E******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. com> wrote in message
news:3E******** *************** ***********@mic rosoft.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
1559
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 be able to do at the moment is create a managed dll and go through all the options changing them. Any offers? 4Space
0
1071
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 compiler is vc++7.0 and it had to convert the project and then I was able to successfully compile and test the code which worked fine. HOWEVER..... ever since compiling and running this code, every new project that I create using the win32 console...
0
940
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 template that can be reuse. I would appreciate any help. Thanks James
0
1353
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 = "Web"><Build><Setting OutputType = "Library NoStandardLibraries = "false ><Confi Name = "Debug DebugSymbols = "true
1
1806
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 this out?? Will it be added in a future service pack?
3
4113
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 Vijay. R
1
2572
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. After doing some research, I found that this is a WPF layout problem. When we place a control into a parent control, if the child control's Width and Height properties are not set, the child control will be streched to
3
1417
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(); thm.Template = TryFindResource("myThumbTemplate") as Template; but of course, this doesn't work. Any advise?
2
1092
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 of the ajax web applications templates are missing...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.