Dynamically accessing controls in the Master Page and Rendering Master Page on Different Browsers

Okay, I got good news

Good News:

If you have a Content page you can tell the that page that what master page to load on different browsers. Its pretty simple take a look at the code below:

<%@ Page Language="C#" mozilla:MasterPageFile="~/Mozilla.master" 
ie:MasterPageFile="~/MyMaster.master" AutoEventWireup="true" 
CodeFile="Default.aspx.cs" Inherits="_Default" %>

As you can see in the above code ie represent Internet Explorer and mozilla offcourse means Mozilla browser.

powered by IMHO

 

Print | posted @ Wednesday, October 19, 2005 10:16 PM

Twitter