M
Michael
Hi all..
I have a solution containing 5 projects, one of which is a custom control.
In one of the projects, I dragged the .ascx file from the custom control
project and dropped it onto a form. I've also referenced the custom control
project. Everything looks good, I can see properties and events, etc. The
solution builds with no errors.
The folder structure loks like this. The folder Fleet is the top level
solution with sub folders each being their own project.
Fleet
+MainMenu
+Search
+Screen1
+Screen2
+Screen3
At run time, when I try to open the page containing the custom control, I
get this error:
The virtual path '/Fleet/Search/ucFleetSearch.ascx' maps to another
application, which is not allowed.
the line causing the error is
<%@ Register TagPrefix="uc1" TagName="ucFleetSearch"
Src="../Search/ucFleetSearch.ascx" %>
How do I use my custom control from the Search project in the Screen1
project?
Thanks
I have a solution containing 5 projects, one of which is a custom control.
In one of the projects, I dragged the .ascx file from the custom control
project and dropped it onto a form. I've also referenced the custom control
project. Everything looks good, I can see properties and events, etc. The
solution builds with no errors.
The folder structure loks like this. The folder Fleet is the top level
solution with sub folders each being their own project.
Fleet
+MainMenu
+Search
+Screen1
+Screen2
+Screen3
At run time, when I try to open the page containing the custom control, I
get this error:
The virtual path '/Fleet/Search/ucFleetSearch.ascx' maps to another
application, which is not allowed.
the line causing the error is
<%@ Register TagPrefix="uc1" TagName="ucFleetSearch"
Src="../Search/ucFleetSearch.ascx" %>
How do I use my custom control from the Search project in the Screen1
project?
Thanks