How to check whether the Browser supports Javascript or Not?

 Posted by vishalneeraj-24503 on 10/8/2014 | Category: ASP.NET Interview questions | Views: 1766 | Points: 40
Answer:

Use below code:-
if(Page.Request.Browser.JavaScript)  

{
...
}
else
{
...
}


If Javascript is enabled then it will return true otherwise return false.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response