How to detect whether the request is from Desktop or Mobile and redirect accordingly.


  • Hi,

    I have 2 pages with alomost data, one(for mobile devices) page having only important highlights. I want to redirect to mobile devices page when the request is from mobile devices and to regular webpage when request is from desktop...

    How can I achieve this?

    Regards, Shreyas R S

    Wednesday, January 28, 2015 12:48 PM


  • Hi Shreyas,

    Actually you know that this forum is to discuss the VS IDE usage, it seems that it is not the VS IDE issue.

    To help you find useful information or provide a more appropriate forum, would you mind letting us know more information about this issue? Which kind of app did you develop? Is it related to the Windows Phone development or others?

    If it is related to the windows Phone, this forum would be better.

    If not, please let us know more information about the real issue.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, January 29, 2015 6:09 AM