mozilla:MasterPageFile in web.config

  • Thread starter Thread starter Alexander Widera
  • Start date Start date
A

Alexander Widera

Is the a possibility to write the masterpages for different browsers into
the web.config, so that i havn't to write in every single page e.g.
ie:MasterPageFile=".." mozilla:MasterPageFile="..." ..... ?

Thanks for help.

Alex
 
You could use the HttpBrowserCapabilities class to identify the browser and
then programmatically set the master page using Page.MasterPageFile.
 
Back
Top