[ASCX In Separate Project]

  • Thread starter Thread starter Jim Christiano
  • Start date Start date
J

Jim Christiano

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
 
Hi Jim

You cant do this unfortunately. You will need to build a Web Custom Control
and not a user control.
Their is a limitation on ascx controls that requires they remain in a single
virtual directory and cannot
cross over applications.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top