This project is read-only.

Changing page layout conditionally

Topics: Themes
May 13, 2010 at 6:13 PM


I'm currently using as a Cms. I'd like to change page layout according to page name.At the moment I'm just trying to change the header image in the site.master page. 

 <img src="<%= Utils.RelativeWebRoot + "pics/Home.jpg" %>" style="border:none;" alt="Homepage" />

But I don't know where to put the if statement, and how.

Thank you very much for any suggestion...