How to find the client browser type ?

Answers were Sorted based on User's Feedback



How to find the client browser type ?..

Answer / nirakar

Request.UserAgent

Is This Answer Correct ?    22 Yes 5 No

How to find the client browser type ?..

Answer / vinay

Response.Write(Request.Browser.Type);

Is This Answer Correct ?    13 Yes 2 No

How to find the client browser type ?..

Answer / tiger skumar

we can identify the browser name using javascript

var brw = new navigator();
alert(brw.appname);
alert(brw.appversion);

Is This Answer Correct ?    14 Yes 5 No

How to find the client browser type ?..

Answer / venmathi

Request.ServerVariables("http_user_agent")

Is This Answer Correct ?    7 Yes 5 No

Post New Answer

More ASP.NET Interview Questions

how to increase performance of web site? if there is a page with high load. the content is high then what should we do to increase performance?

3 Answers   Emphasis, Mphasis, TCS,


I M working in 1.1 .net framework. In a page I have 5 text box & 2 data grid. In PageLoad() All text box will populate with blank value & 1st dataGrid with some value. When I click on EDIT button Of the 1st dataGrid,The Relevent data Of the particular row will populate in first 3 textboxs & corresponding relevent data Will populate in the 2nd DataGrid. Now when I click 2nd datagrid's EDIT button of a perticular Row,relevent data will populate on last 2 textboxs & 1st 3 textbox's value will be same as per as it was........ ........My Problem Is ........... When I click on edit button Of 2nd DataGrid, 1st 3 text boxes values goes Off & 2nd DataGrid Is goes off Due to Postback.but The relevent value is populated In last 2 textboxes.So How I stoped this postback??So that all the data in 1st 3 textboxes will be same.So that I can edit the values of 2nd Grid with 1st 3 textBoxes value.. plz dirctly mail me 1 copy of post to... maloy.adhikari@in.com

2 Answers  


How do u declare static variable and how it is declared and what is its lifetime?

0 Answers  


Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

0 Answers  


How you will handle session when deploying application in more than a server?

0 Answers  


How do we invoke queries from the application?

3 Answers   Microsoft,


How to disable disable browser's Back button in asp.net (JavaScript)?

0 Answers   HCL,


what is use to destroy an object? illustrate.

2 Answers   Patni,


How can we prepairing Interview

0 Answers   ITcom, TCS,


Asp.net and asp ? differences?

2 Answers  


what is asp and asp.net ?

2 Answers   Inspira Technologies,


what is the requirement that .Net web services can access the java application?

6 Answers   iSoft,


Categories