Well as Scott Hanselman described in here, asp.net sometimes does not correctly identifies the browser due to a bug.
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.
So I followed one of the solutions which he had addressed and the issue resolved. I’ve summarized it here for short cutting the path;
use NuGet to install the App_BrowsersUpdate package
then deploy your web app on hosting server and try it again.