Groups | Blog | Home
all groups > asp.net building controls > august 2003 >

asp.net building controls : [ASCX In Separate Project]


Jim Christiano
8/12/2003 3:01:14 PM
I would like to place an .ASCX file in one project while my main program is
in another project. If this is possible, what type of project should I use
for the ASCX? How do I call the ASCX from my main program? Do I use the
standard @Register directive?

Thanks in advance,
Jim Christiano

Teemu Keiski
8/16/2003 1:22:27 PM
Create a virtual directory in IIS for each application that need to use this
shared user control. Map this virtual directory to one physical directory
that contains the user control.

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com


[quoted text, click to view]

Teemu Keiski
8/18/2003 8:48:46 AM
And for more details:
http://www.aspalliance.com/stevesmith/articles/netreuse1.asp

Teemu

"Teemu Keiski" <joteke@aspalliance.com> kirjoitti viestissä
news:es5EHB%23YDHA.1744@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

John Saunders
8/18/2003 2:19:43 PM
[quoted text, click to view]

Thanks. From this, I can see that what I didn't do last year is add a
reference to the common web app.
--
John Saunders
Internet Engineer
john.saunders@surfcontrol.com


AddThis Social Bookmark Button