Hi,
it is possible to set the browser dependent masterpage in the web.config,
and how?
in the page attributes it is an easy way, but in the web.config?
In the page-tag it would look like this:
<%@dotnet.itags.org. Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ie:MasterPageFile="~/MasterPage_IE.master"
mozilla:MasterPageFile="~/MasterPage_Firefox.master" %>
Thanks a lot,
Alex<configuration>
<system.Web>
<pages master="default.master" />
</system.Web>
</configuration>
Ashok
"Alexander Widera"
<awid@.hrz.tu-chemnitz.de-novaliddomainpleasedeletethispart.de> wrote in
message news:OZ4GZEBBGHA.3536@.TK2MSFTNGP11.phx.gbl...
> Hi,
> it is possible to set the browser dependent masterpage in the web.config,
> and how?
> in the page attributes it is an easy way, but in the web.config?
> In the page-tag it would look like this:
> <%@. Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
> Inherits="_Default" ie:MasterPageFile="~/MasterPage_IE.master"
> mozilla:MasterPageFile="~/MasterPage_Firefox.master" %>
>
> Thanks a lot,
> Alex
>
>
this is for the "default" browser...
but how to set special masterpages for different browsers (in the
web.config)?
In the page tag it looks like that (see below)... but in the web.config
...
i dont now how...
<%@. Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" ie:MasterPageFile="~/MasterPage_IE.master"
mozilla:MasterPageFile="~/MasterPage_Firefox.master" %>
alex
"Showjumper" <dfgkjhdf> schrieb im Newsbeitrag
news:e3aiMiBBGHA.4092@.TK2MSFTNGP09.phx.gbl...
> <configuration>
> <system.Web>
> <pages master="default.master" />
> </system.Web>
> </configuration>
> Ashok
> "Alexander Widera"
> <awid@.hrz.tu-chemnitz.de-novaliddomainpleasedeletethispart.de> wrote in
> message news:OZ4GZEBBGHA.3536@.TK2MSFTNGP11.phx.gbl...
web.config,
CodeFile="Default.aspx.cs"
>
>
hasn't anybody a solution?
"Alexander Widera"
<awid@.hrz.tu-chemnitz.de-novaliddomainpleasedeletethispart.de> schrieb im
Newsbeitrag news:%23dQzXgHBGHA.2708@.TK2MSFTNGP12.phx.gbl...
> this is for the "default" browser...
> but how to set special masterpages for different browsers (in the
> web.config)?
> In the page tag it looks like that (see below)... but in the web.config
> ...
> i dont now how...
> <%@. Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
> Inherits="_Default" ie:MasterPageFile="~/MasterPage_IE.master"
> mozilla:MasterPageFile="~/MasterPage_Firefox.master" %>
> alex
>
>
> "Showjumper" <dfgkjhdf> schrieb im Newsbeitrag
> news:e3aiMiBBGHA.4092@.TK2MSFTNGP09.phx.gbl...
> web.config,
> CodeFile="Default.aspx.cs"
>
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment