Using the Web Site model I can include a custom server control by
putting it into my app_code directory and referencing it in my web
page, thusly:
<%@ register tagprefix='myprefix' namespace='local.namespace' %>
and could then use the control without compiling it into an assembly,
like so:
<myprefix:mytag runat='server' [blah blah blah] />
(where mytag is a control defined in the local.namespace namespace).
This doesn't seem to work in using the Web Application model. How can
I do this in a Web Application (without having to compile it into an
assembly - if possible)?
Tia,
rts.
I tried moving it out of the app_code folder (which is really
meaningless in a web app) but to no avail. I have my reasons for not
wanting to compile it into an assembly or have a single control
project, that being, that the control changes from application to
application and I need to keep each version for each app. But thanks
anyway.
Any other suggestions?
Anyone?