locked
converting asp website into mobile website RRS feed

  • Question

  • User1790255588 posted

    HI everyone

    i have created an asp website and that working fine .... and now i want to convert it to mobile based site that is the webpage must optimal to mobile screen also how to do that ....

    my website contain many form so recreating is not possible so help me with how to convert the same site as mobile site i already visited some sites but i dont get enough information so help me with excat coding to convert it

    IM USING ASP,HTML AND SQL

    help me with excat code and actual needed 

    Thank you

    Thursday, March 15, 2012 12:27 PM

Answers

  • User455156504 posted

    Hi,

    the best situation would be that you only have to optimize your CSS for mobile requests. With that you only have to detect if the requested agent from a mobile device and if so provide the appropriate CSS file. If you're using HTML5 you can use 'data-' attributes if your using frameworks like jQuery Mobile.

    But most of it depends on your site. If you have content which can be displayed on a mobile screen you only have to optimize your CSS for mobile usage.

    In some situations you will need to recreate (that means develop a mobile version) your site. One of this situations is if you're having a site which contains a lot of content which doesn't fit on the screen (and with that a user has to move around to see the whole content).

    For ASP.NET and mobile development you will find some information on the following site - http://www.asp.net/mobile

    Also you should have a look at jQuery Mobile - http://jquerymobile.com/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 15, 2012 1:19 PM

All replies

  • User455156504 posted

    Hi,

    the best situation would be that you only have to optimize your CSS for mobile requests. With that you only have to detect if the requested agent from a mobile device and if so provide the appropriate CSS file. If you're using HTML5 you can use 'data-' attributes if your using frameworks like jQuery Mobile.

    But most of it depends on your site. If you have content which can be displayed on a mobile screen you only have to optimize your CSS for mobile usage.

    In some situations you will need to recreate (that means develop a mobile version) your site. One of this situations is if you're having a site which contains a lot of content which doesn't fit on the screen (and with that a user has to move around to see the whole content).

    For ASP.NET and mobile development you will find some information on the following site - http://www.asp.net/mobile

    Also you should have a look at jQuery Mobile - http://jquerymobile.com/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 15, 2012 1:19 PM
  • User1943143334 posted

    Hi,

    You can consider @Horizon_Net suggestion and also, add the following META tags to the page to make mobile compatible!

    <meta name="HandheldFriendly" content="true" />
    <meta name="viewport" content="width=device-width" />

    http://roopeshreddy.wordpress.com/2010/07/25/mobile-development-in-asp-net/

    Hope it helps u...

    Thursday, March 15, 2012 11:37 PM