[Mono-list] ASP.NET and master pages

Joe Audette 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
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com


----- 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

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  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060913/df874a4f/attachment.html 


More information about the Mono-list mailing list