G
Guest
In a blog from Scott Guthrie
(http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx) I found a
sample to build a UserControl Library inside one ASP.NET project and then
deploy it to other projects and reuse it.
He suggests that you "publish" the web site to a directory and include this
directory into your (second) web site. I tried this but VS (and the
aspnet_compiler) complains that my user control now is implemented twice.
When I remove the "aspx" files and only copy the compiled dlls I cannot
access the user controls for they are not found.
Unfortunately, Scotts sample doesnt go into details about how to include
these UserContorls into new web sites.
So the question is:
If I have the compiled user control (e.g.
"App_Web_MyUserControl.ascx.12345678.dll") copied into the new web site, how
can I reference the control therein in my page ?
Guenter from Frankfurt/Germany
(http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx) I found a
sample to build a UserControl Library inside one ASP.NET project and then
deploy it to other projects and reuse it.
He suggests that you "publish" the web site to a directory and include this
directory into your (second) web site. I tried this but VS (and the
aspnet_compiler) complains that my user control now is implemented twice.
When I remove the "aspx" files and only copy the compiled dlls I cannot
access the user controls for they are not found.
Unfortunately, Scotts sample doesnt go into details about how to include
these UserContorls into new web sites.
So the question is:
If I have the compiled user control (e.g.
"App_Web_MyUserControl.ascx.12345678.dll") copied into the new web site, how
can I reference the control therein in my page ?
Guenter from Frankfurt/Germany