Click here to Skip to main content
15,922,894 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralFluid tab control using MultiView Pin
gibby104726-Dec-07 5:16
gibby104726-Dec-07 5:16 
GeneralVirtual Directory Pin
Civic066-Dec-07 4:46
Civic066-Dec-07 4:46 
GeneralRe: Virtual Directory Pin
Fred_Smith6-Dec-07 4:53
Fred_Smith6-Dec-07 4:53 
GeneralSetting Focus on a TextBox and sellecting the text in a DataGrid with TextChanged Pin
thomasa6-Dec-07 4:39
thomasa6-Dec-07 4:39 
GeneralThe solution Pin
thomasa6-Dec-07 5:25
thomasa6-Dec-07 5:25 
GeneralRe: The solution for IIS 2.0 Pin
thomasa6-Dec-07 5:53
thomasa6-Dec-07 5:53 
GeneralRe: The solution for IIS 2.0 Pin
Kelly Herald6-Dec-07 9:03
Kelly Herald6-Dec-07 9:03 
Questionhow to detect whether the requesting machine is a mobile? Pin
Rocky#6-Dec-07 4:37
Rocky#6-Dec-07 4:37 
hi
I want to redirect the user to a mobile form when the requesting machine is a mobile irrespective of whether it has Pocket IE or some really ordinary browser.

<br />
Dim res As String = Request.Browser("IsMobileDevice")<br />
If res = "false" Then<br />
            'when its a desktop machine requesting the page<br />
            Response.Redirect(when_Desktop)<br />
        Else<br />
            'when its a mobile<br />
            Response.Redirect(when_Mobile)<br />
 End If<br />


Later I tried this code but it failed. I think HTTP headers help u to identify the model of the mobile. I just wanna know whether its a mobile or not.

How can I do it?

Thanks

Rocky

You can't climb up a ladder with your hands in your pockets.

AnswerRe: how to detect whether the requesting machine is a mobile? Pin
Fred_Smith6-Dec-07 5:43
Fred_Smith6-Dec-07 5:43 
Generalfileupload problem Pin
accessred6-Dec-07 3:55
accessred6-Dec-07 3:55 
GeneralRe: fileupload problem Pin
Fred_Smith6-Dec-07 4:00
Fred_Smith6-Dec-07 4:00 
GeneralRe: fileupload problem Pin
Michael Sync6-Dec-07 4:03
Michael Sync6-Dec-07 4:03 
GeneralRe: fileupload problem Pin
Michael Sync6-Dec-07 4:11
Michael Sync6-Dec-07 4:11 
QuestionOutlook Integration in Web Application? Pin
madhan singh raja6-Dec-07 3:27
madhan singh raja6-Dec-07 3:27 
GeneralExcel object is not coming in Intellisense Pin
meeram3956-Dec-07 2:57
meeram3956-Dec-07 2:57 
GeneralRe: Excel object is not coming in Intellisense Pin
Michael Sync6-Dec-07 4:06
Michael Sync6-Dec-07 4:06 
GeneralSession problem Pin
kinnuP6-Dec-07 2:50
kinnuP6-Dec-07 2:50 
GeneralRe: Session problem Pin
Fred_Smith6-Dec-07 4:04
Fred_Smith6-Dec-07 4:04 
GeneralRe: Session problem Pin
kinnuP6-Dec-07 18:51
kinnuP6-Dec-07 18:51 
GeneralProblem with AjaxControlToolkit CalendarExtender with TextChanged in a datagrid. Pin
thomasa6-Dec-07 2:20
thomasa6-Dec-07 2:20 
GeneralRe: The Solution Pin
thomasa6-Dec-07 3:34
thomasa6-Dec-07 3:34 
Questionhow i can use a cursor for a multi set return values in a stored procedures Pin
jagan1236-Dec-07 1:56
jagan1236-Dec-07 1:56 
AnswerRe: how i can use a cursor for a multi set return values in a stored procedures Pin
Paddy Boyd6-Dec-07 2:18
Paddy Boyd6-Dec-07 2:18 
Questionregarding pblm in creating virtual directory Pin
GaneshKumarVkm6-Dec-07 1:42
GaneshKumarVkm6-Dec-07 1:42 
GeneralRe: regarding pblm in creating virtual directory Pin
Sathesh Sakthivel6-Dec-07 1:53
Sathesh Sakthivel6-Dec-07 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.