473,382 Members | 1,750 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,382 software developers and data experts.

Making web user controls (ascx) available to more than 1 web application

How do you make ascx controls available to more than 1 web application or
vs2008 project? I tried putting it inside a dll but it wont let me. I
thought there was a project type for web user controls, but can't find it
now for some reason. What should I do?

Jun 27 '08 #1
4 1282
Please follow the instructions in this MSDN article :

Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx


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/
======================================
"Andy B" <a_*****@sbcglobal.netwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
How do you make ascx controls available to more than 1 web application or vs2008 project? I tried putting it inside a
dll but it wont let me. I thought there was a project type for web user controls, but can't find it now for some
reason. What should I do?


Jun 27 '08 #2

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OL**************@TK2MSFTNGP02.phx.gbl...
Please follow the instructions in this MSDN article :

Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx

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/
======================================
"Andy B" <a_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>How do you make ascx controls available to more than 1 web application or
vs2008 project? I tried putting it inside a
dll but it wont let me. I thought there was a project type for web user
controls, but can't find it now for some
reason. What should I do?
Thought this might be interesting since I use a bunch of ascx. I followed
the public instructions using VS 2008 and I get a bunch of .compiled rather
than dll's. These .compiled files are all 1KB so not a dll.

LS

Jun 27 '08 #3

"Lloyd Sheen" <a@b.cwrote in message
news:O2**************@TK2MSFTNGP05.phx.gbl...
>
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OL**************@TK2MSFTNGP02.phx.gbl...
>Please follow the instructions in this MSDN article :

Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx

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/
======================================
"Andy B" <a_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>>How do you make ascx controls available to more than 1 web application
or vs2008 project? I tried putting it inside a
dll but it wont let me. I thought there was a project type for web user
controls, but can't find it now for some
reason. What should I do?
Thought this might be interesting since I use a bunch of ascx. I followed
the public instructions using VS 2008 and I get a bunch of .compiled
rather than dll's. These .compiled files are all 1KB so not a dll.

LS
Sorry did not do all step correctly. It works.

LS

Jun 27 '08 #4
re:
!Sorry did not do all step correctly. It works.

Indeed, it does.
Glad that you worked out the snag.


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/
======================================
"Lloyd Sheen" <a@b.cwrote in message news:ec**************@TK2MSFTNGP05.phx.gbl...
>
"Lloyd Sheen" <a@b.cwrote in message news:O2**************@TK2MSFTNGP05.phx.gbl...
>>
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:OL**************@TK2MSFTNGP02.phx.gbl...
>>Please follow the instructions in this MSDN article :

Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx

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/
======================================
"Andy B" <a_*****@sbcglobal.netwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
How do you make ascx controls available to more than 1 web application or vs2008 project? I tried putting it inside
a
dll but it wont let me. I thought there was a project type for web user controls, but can't find it now for some
reason. What should I do?
Thought this might be interesting since I use a bunch of ascx. I followed the public instructions using VS 2008 and
I get a bunch of .compiled rather than dll's. These .compiled files are all 1KB so not a dll.

LS

Sorry did not do all step correctly. It works.

LS

Jun 27 '08 #5

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

Similar topics

6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
5
by: Marcel Gelijk | last post by:
Hi, I am trying to create a User Control that is located in a seperate class library. The User Control contains a textbox and a button. The page generates an exception when it tries to access...
1
by: Mike Kline | last post by:
Hi There! How do I make the Objects in the custom made HttpModule available to ASPX page or ASCX controls without requiring an object reference? For example, SessionState HttpModule made the...
3
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for...
1
by: osh | last post by:
All, I am having trouble using the PostBackUrl feature in .NET 2.0. I have several User Controls that are on a MasterPage. The User Controls contain the form fields for a basic search on...
4
by: DaveOnSEN | last post by:
I love how easy it is to develop ASP.NET user controls. They are fast to make and easy to reuse within your web application. However, sometimes I want to make controls that I use in one web...
8
by: mark.norgate | last post by:
I've run into a few problems trying to use generics for user controls (classes derived from UserControl). I'm using the Web Application model rather than the Web Site model. The first problem...
3
by: Jonathan Wood | last post by:
I could really use some help on this. First of all, I want to create a Web control where I render the control completely from scratch based on information from a database. In the book...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
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: 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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.