Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Cross-application user controls?

Reply
Thread Tools

Cross-application user controls?

 
 
matt del vecchio
Guest
Posts: n/a
 
      10-20-2003
Hi,

I work in an environment where many developers work on serveral
different web apps, each launched as a Virtual Directory webapp in
IIS. The parent folder for all of these webapps is "/InetPub/wwwroot".

I had hoped that it would be possible to create a "/controls" folder
in wwwroot, and allow any child VD/webapp's webform to load user
controls from it, ala:

<%@ Register TagPrefix="AP" TagName="DrilLDownUI"
src="/controls/content/drillDownUI.ascx" %>

....alas, this does not appear possible. I get:

"The virtual path '/controls/content/drillDownUI.ascx' maps to another
application, which is not allowed."

I have searched for articles on google on this, but it appears this
functionality is not supported. Can anyone confirm?

I'm guessing that the work around is to create custom server controls
and distribute .dlls to the child VD/webapp's "/bin" dirs. I was
hoping not to have to do that because, being new to server controls,
they seem much more difficult for me to generate compared to webforms
or user controls.


Thanks!
matt
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict user if user directly types url of any page Jaydeep ASP .Net 3 06-30-2006 04:40 AM
Re: How to get user's full name using HttpContext.Current.User Mike Newton ASP .Net 0 07-23-2004 03:56 PM
user.isinrole in user control Somyos Jinkow ASP .Net 1 06-01-2004 11:16 AM
Reference a user controls properties from another user control?? =?Utf-8?B?YWJqb3Jr?= ASP .Net 1 05-05-2004 02:41 PM
Manipulating a User Control from another User Control Tom Rowton ASP .Net 2 08-01-2003 08:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57