S
Sacha Korell
First of all, sorry for cross-posting, but this newsgroup is much busier
than "aspnet.mobile".
I'm trying to create a portal page that redirects depending on the device
that is connecting.
When I use Request.Browser("IsMobileDevice"), it returns false when
connecting with my iPAQ
2215 (and other Windows Mobile 2003 devices), although
HTTPBrowserCapabilities "Platform" returns "WinCE".
What's going on? I'm using VS.NET2003 for development with DeviceUpdate4
installed.
I had a code snippet like (suggested by the MS "Best Practices" page at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmitta/html/bestpractaui.asp):
If Not (Page.IsPostBack) Then
If (Device.IsMobileDevice) Then
RedirectToMobilePage("mobile/m_default.aspx")
Else
Response.Redirect("default.aspx")
End If
End If
It used to work just fine, but now "Device.IsMobileDevice" also returns
false.
Does anybody in this group have a clue why this is happening?
Also, why is has MS not released another device update? The latest one is
over a year old.
Thanks,
Sacha
than "aspnet.mobile".
I'm trying to create a portal page that redirects depending on the device
that is connecting.
When I use Request.Browser("IsMobileDevice"), it returns false when
connecting with my iPAQ
2215 (and other Windows Mobile 2003 devices), although
HTTPBrowserCapabilities "Platform" returns "WinCE".
What's going on? I'm using VS.NET2003 for development with DeviceUpdate4
installed.
I had a code snippet like (suggested by the MS "Best Practices" page at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmitta/html/bestpractaui.asp):
If Not (Page.IsPostBack) Then
If (Device.IsMobileDevice) Then
RedirectToMobilePage("mobile/m_default.aspx")
Else
Response.Redirect("default.aspx")
End If
End If
It used to work just fine, but now "Device.IsMobileDevice" also returns
false.
Does anybody in this group have a clue why this is happening?
Also, why is has MS not released another device update? The latest one is
over a year old.
Thanks,
Sacha