[Mono-list] ASP.NET and master pages
joe_audette at yahoo.com
Wed Sep 13 13:30:42 EDT 2006
I think that is normal behavior and would be the same on windows. The MasterPage is not responsible for ensuring the correct path for images and css files linked within it.
I think you need to use script blocks and Page.ResolveUrl, something like this which is from one of my master pages:
Hope it helps,
joe_audette [at] yahoo dotcom
----- Original Message ----
From: PChot <pchott at gmail.com>
To: mono-list at lists.ximian.com
Cc: gonzalo at ximian.com
Sent: Wednesday, September 13, 2006 12:06:21 PM
Subject: [Mono-list] ASP.NET and master pages
I have problem with master pages in xsp2. I have master page in one folder and is used in diferent subfolders. Master page include css and some images. There is problems with css and images because master page is executed in folder with aspx page not where is .master file.Here is example folder structure:
Was clear enought?
How can I force that execute there where it should be? Shell i report this as a bug???
Have a nice day,
Macs are for those who don't want to know why their computer works.
Linux is for those who want to know why their computer works.
DOS is for those who want to know why their computer doesn't work.
Windows is for those who don't want to know why their computer doesn't work._______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list