Last post Oct 02, 2007 08:41 AM by Zhao Ji Ma - MSFT
Sep 29, 2007 02:17 PM|rfwilliams777|LINK
I don't know if this is the correct thread, but my company's website is in .net 2.0 using Masterpages. I would like to design a series of pages from my site to fit for pocket pc. I would also like to continue developing websites in both capabilities to
offer to my clients. Years ago I was successful with having two websites and the web.config file checked how the user came to the site to automatically switch the site to a pocket pc safe version. I would like to do the same thing. I don't mind developing
duplicate pages with duplicate content...as long as the web.config file will switch or redirect if there's a pocket pc viewing the site. BTW, if this helps my site is in VB so I only want a VB solution, not a C#. I also do not have any code-behind files...so
the coding will have to be either in the masterpage files or on the individual pages.
If there's any other suggestions (outside of css) to do thing automatically, please let me know. Thanks!
Oct 02, 2007 08:41 AM|Zhao Ji Ma - MSFT|LINK
Based on my research, you could probably have two versions of web pages for destop browsers and mobile browsers and redirect to one of them according to browser type:
if (Request.Browser["IsMobileDevice"] == "true" )