Browser Definition File

Browser definition files contain definitions for individual browsers. At run time, ASP.NET uses the information in the request header to determine what type of browser has made the request. Then ASP.NET uses browser files to determine the capabilities of the browser, and how to render markup to that browser. This is useful to Web developers who want to create applications that can be viewed on mobile devices, making use of control adapters that adapt the behavior of an ASP.NET Web server control depending on the type of device.

Note:
Browser definition files are new in the .NET Framework version 2.0. 
In earlier versions of the .NET Framework, the browserCaps element was used to define browser definitions in configuration files.

ASP.NET fails to detect IE10+ causing _doPostBack is undefined JavaScript error or maintain FF5 scrollbar positionimage_3
There is a bug in the browser definition files that shipped with .NET 2.0 and .NET 4, namely that they contain definitions for a certain range of browser versions. But the versions for some browsers (like IE 10+) aren’t within those ranges any more. Therefore, ASP.NET sees them as unknown browsers and defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript.

We can fix this problem by updating Browser Definition File, One of the simplest way to update the Browser Definition File is just install the latest Frame Work version to the hosted server

Author : Rony T Sam

Advertisements

One thought on “Browser Definition File

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s