Home All Groups Group Topic Archive Search About

mozilla:MasterPageFile in web.config

Author
23 Dec 2005 6:38 PM
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

Author
24 Dec 2005 1:35 PM
Christopher Reed
You could use the HttpBrowserCapabilities class to identify the browser and
then programmatically set the master page using Page.MasterPageFile.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Alexander Widera"
<a***@hrz.tu-chemnitz.de-novaliddomainpleasedeletethispart.de> wrote in
Show quoteHide quote
message news:OqeFaA$BGHA.1008@TK2MSFTNGP12.phx.gbl...
> 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
>
>
>

Bookmark and Share