Last post Sep 22, 2003 01:32 PM by wunderkinder
Sep 22, 2003 12:09 PM|dutchman|LINK
Sep 22, 2003 01:32 PM|wunderkinder|LINK
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If Request.Browser("IsMobileDevice") = "true" Then Response.Redirect("MobileDefault.aspx")
Else Response.Write(" This would have the effect of redirecting desktop-based browsers to DesktopDefault.aspx with the screen width as part of the querystring. It would be a simple task to set a session variable that stores the desired paths to the appropriate
css and image folders, based on the querystring value of course. Then you can modify the css reference location and image button source locations to point to the path held in the session variable.