473,508 Members | 2,361 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DLL Project of user controls

Ryu
Hi all,

Is it possible to create a dll project of ascx controls? I have tried
creating a dll project and then adding ascx files. But I cant view them in
design mode. Neither can I attach the its equivalent cs file to it. For
example if i create a new Book.ascx control, I am not able to attach its
Book.ascx.cs to Book.ascx. What did I do wrong?

Thanks and regards
Nov 19 '05 #1
3 2098
Are you think of compiling a web *user* control,
instead of compiling a web *custom* control ?

You compile web *custom* controls.
Web *user* controls are written in code.

See the differences between them at :

Web Custom controls :
http://msdn.microsoft.com/library/de...ebcontrols.asp

Web User Controls :
http://msdn.microsoft.com/library/de...ebcontrols.asp

Here's the set of recommendations for when to create which type :
http://msdn.microsoft.com/library/de...ebcontrols.asp


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Ryu" <bl***************@yahoo.com> wrote in message
news:uu**************@TK2MSFTNGP10.phx.gbl...
Hi all,

Is it possible to create a dll project of ascx controls? I have tried creating a dll
project and then adding ascx files. But I cant view them in design mode. Neither can I
attach the its equivalent cs file to it. For example if i create a new Book.ascx
control, I am not able to attach its Book.ascx.cs to Book.ascx. What did I do wrong?

Thanks and regards

Nov 19 '05 #2
Ryu
Thanks for the reply. I was referring to web user controls. Is there a more
convenient way to get its dll file?
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uB*************@TK2MSFTNGP12.phx.gbl...
Are you think of compiling a web *user* control,
instead of compiling a web *custom* control ?

You compile web *custom* controls.
Web *user* controls are written in code.

See the differences between them at :

Web Custom controls :
http://msdn.microsoft.com/library/de...ebcontrols.asp

Web User Controls :
http://msdn.microsoft.com/library/de...ebcontrols.asp

Here's the set of recommendations for when to create which type :
http://msdn.microsoft.com/library/de...ebcontrols.asp


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Ryu" <bl***************@yahoo.com> wrote in message
news:uu**************@TK2MSFTNGP10.phx.gbl...
Hi all,

Is it possible to create a dll project of ascx controls? I have tried
creating a dll project and then adding ascx files. But I cant view them
in design mode. Neither can I attach the its equivalent cs file to it.
For example if i create a new Book.ascx control, I am not able to attach
its Book.ascx.cs to Book.ascx. What did I do wrong?

Thanks and regards


Nov 19 '05 #3
On Thu, 27 Oct 2005 22:07:11 +0800, "Ryu"
<bl***************@yahoo.com> wrote:
Thanks for the reply. I was referring to web user controls. Is there a more
convenient way to get its dll file?


No, not really - at least not in an official supported fashion.

In 2.0 I've done some experimentation:
http://odetocode.com/Blogs/scott/arc...0/06/2326.aspx
There is a link in the comments to Guenter's post on this form, where
he has taken this a step further.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 19 '05 #4

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

Similar topics

3
3258
by: Helmut Wagensonner | last post by:
Hi, I have created a custom textBox within a C# project. I want to put that custom textBox on a form now. I heard about a way, to place that user control onto a form within the same project,...
0
232
by: Amil | last post by:
I have a reusable web application (e.g. portal). I often do a project copy to create new virtual apps. This works fine. Now I want to take that reusable app (not the solution and it's projects)...
3
2870
by: sameaname | last post by:
Hi We have the below 6 class libraries in our ASP.NET project 1. Application.UI - //Contains all the aspx and UI control, css/ images web.config etc. (assembly name : Project.Application.UI)...
0
7223
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,...
0
7115
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...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7489
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...
0
5624
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,...
0
4705
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...
0
1547
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 ...
1
762
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.