[Mono-list] Mapping across application not allowed?
carl at carl-olsen.com
Sat Jul 23 16:48:09 EDT 2005
I get the same error with "~/Controls/UserControl.ascx" as I get with
"/Controls/UserControl.ascx". The site footer works just fine, but I'm
assuming it's because it's included in pages in the root directory, whereas
the user control is only used on a page in a different subdirectory. In
other words, it only works when the user control is within or down the
directory structure or the control has already been included in a file in
the root directory. I have no idea what the behavior of the user control
should be, but I'm starting to see a pattern.
SiteFooter.ascx is included in Index.aspx and Test.aspx and works with
"~/Controls/SiteFooter.ascx" or "/Controls/SiteFooter.ascx".
UserControl.ascx is included on in Test.aspx and does not work with
"~/Controls/UserControl.ascx" or "/Controls/UserControl.ascx".
It's consistent. If I move UserControl.ascx to "/Modules/Legislators/" it
works just fine in Text.aspx.
I don't have any problems with this behavior, since I can easily work around
it. I'm just curious as to why it the behavior is different on Windows and
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Joe Audette
Sent: Saturday, July 23, 2005 1:17 PM
To: carl at carl-olsen.com; Chris at Ion-Dreams.com; 'Mono List'
Subject: RE: [Mono-list] Mapping across application not allowed?
hope it helps,
More information about the Mono-list