I'm trying to create a new web site, with some heavy data controls. I wanted the data controls in their own project in case I need to use them again.
Solution Structure:
BusinessLogic (WebApp)
[tab]UserControl.ascx
[tab]UserControl2.ascx
WebSite (WebApp)
[tab]WebPage1.aspx
[tab]WebPage2.aspx
I've got the projects all set up. The BusinessLogic project is referenced in the <pages><controls><add> section, so the controls are available.
I can put the ascx's on the web pages. The code in the code behind is running.
Any controls added in the page load of the control WILL render.
I can't see anything declared in the ascx.
I cannot see the user control in the designer. (At all. No Error. Nothing)
If I add a web page to the BusinessLogic project and add a user control, I can see the user control fine.
Suggestions?
Lodlaiden
You've got questions and source code. We want both!
Solution Structure:
BusinessLogic (WebApp)
[tab]UserControl.ascx
[tab]UserControl2.ascx
WebSite (WebApp)
[tab]WebPage1.aspx
[tab]WebPage2.aspx
I've got the projects all set up. The BusinessLogic project is referenced in the <pages><controls><add> section, so the controls are available.
I can put the ascx's on the web pages. The code in the code behind is running.
Any controls added in the page load of the control WILL render.
I can't see anything declared in the ascx.
I cannot see the user control in the designer. (At all. No Error. Nothing)
If I add a web page to the BusinessLogic project and add a user control, I can see the user control fine.
Suggestions?
Lodlaiden
You've got questions and source code. We want both!