tags:

views:

43

answers:

0

Hi, I am trying to fix client target in whole site so it would render as ie5 (dhtml etc) I can do it induvidualy on each page with

   protected override void FrameworkInitialize()
{
    base.FrameworkInitialize();
    ClientTarget = "ie5";
}

and i have seen http://msdn.microsoft.com/en-us/library/6379d90d%28VS.85%29.aspx

<clientTarget>
 <add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0" />
 <add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0" />
 <add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1)" />
 <add alias="downlevel" userAgent="Generic Downlevel" />
</clientTarget>

if i add

<clientTarget>
 <add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0" />
</clientTarget>

to my webconfig, will .net render pages for ie? or am i simply adding another browser definition to browsercaps?