TipGiver
Programmer
- Sep 1, 2005
- 1,863
In the root i have a folder "user controls" and inside the "logincontrol.ascx". I drag it to a web form, and it generates this:
<%@ Register TagPrefix="uc1" TagName="LoginControl" Src="../User%20Controls/LoginControl.ascx" %>
The ".." is because the page that hosts the uc is in a folder at root.
When i load the page (i know that there will be an error cause i cant see th uc1 in design time), i get the error:
Parser Error Message: The file '/mysite/User%20Controls/LoginControl.ascx' does not exist.
I;m stuck.. any help on that?
Thanks
<%@ Register TagPrefix="uc1" TagName="LoginControl" Src="../User%20Controls/LoginControl.ascx" %>
The ".." is because the page that hosts the uc is in a folder at root.
When i load the page (i know that there will be an error cause i cant see th uc1 in design time), i get the error:
Parser Error Message: The file '/mysite/User%20Controls/LoginControl.ascx' does not exist.
I;m stuck.. any help on that?
Thanks