[Mono-list] Mapping across application not allowed?
Joe Audette
joe_audette at yahoo.com
Sat Jul 23 18:33:43 EDT 2005
Hi Carl,
If SiteFooter.ascx works in both places there must be
something different about the other controls that
don't work. Is there a difference in namespace or a
case sensitivity difference. Are you compiling or
using inline script blocks?
I think I would have to see the code to be of any more
help. It certainly could be a bug in mono, you could
create a test case and submit a bug report.
Joe
--- Carl Olsen <carl at carl-olsen.com> wrote:
> Hi Joe,
>
> 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.
>
> Carl
>
> Root -
> Index.aspx
> Controls -
> SiteFooter.ascx
> UserControl.ascx
> Modules -
> Legislators -
> Test.aspx
>
> 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
> Linux.
>
> http://www.carl-olsen.com/
>
> -----Original Message-----
> 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?
>
> Try
>
> ~/Controls/SiteFooter.ascx
> instead of
> /Controls/SiteFooter.ascx
>
> hope it helps,
>
> Joe
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com
More information about the Mono-list
mailing list