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
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
----- Original Message ----
From: PChot <[EMAIL PROTECTED]>
To: [email protected]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 12:06:21 PM
Subject: [Mono-list] ASP.NET and master pages
Hi all,
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:
>root/Default.aspx
->master/page.master
-->work/app1/test1.aspx
....
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,
PChott
--
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.
From: PChot <[EMAIL PROTECTED]>
To: [email protected]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 13, 2006 12:06:21 PM
Subject: [Mono-list] ASP.NET and master pages
Hi all,
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:
>root/Default.aspx
->master/page.master
-->work/app1/test1.aspx
....
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,
PChott
--
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 - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
