locked
Visual Studio 2008 Express and mobile web development RRS feed

  • Question

  • User-1065726372 posted

    OK - so I've been using VS2008 Express for a while to develop some web sites etc.

    I've downloaded the Mobile Web Form templates that are available as I would like to convert some of my web pages for mobile access.


    Where to start ? Where is a good resource to learn how to code some mobile web pages using VS2008 Xpress ??


    Thanks

    M

    Wednesday, September 22, 2010 7:18 AM

Answers

All replies

  • User1943143334 posted

    Hi,

     Mobile webforms are designed for WAP enabled browsers. Now a days all Mobile browsers are HTML compatabile. General ASP.NET web application works absolutely fine with all Mobile browsers.

    Check this link for more details,

    http://roopeshreddy.spaces.live.com

     

    Hope it helps u... 

    Wednesday, September 22, 2010 9:44 AM
  • User-1199946673 posted

    Where is a good resource to learn how to code some mobile web pages using VS2008 Xpress ??
     

     

    http://51degrees.mobi/Products/NETMobileAPI/tabid/86/Default.aspx

    Wednesday, September 22, 2010 10:08 AM
  • User-1065726372 posted

    OK Thanks,


    So I think what you are saying is that as long as I keep to the constraints of designing for a small screen all the usual server controls and data handling controls will work fine.


    Which is good news !


    Wednesday, September 22, 2010 10:11 AM
  • User-1065726372 posted

    ER..

    Ok - so I think this link is to a widget that detects if a mobile browser is using the site and it then redirects the user to mobile version of the site.

    But I think you still have to write the mobile version of the web site !?

    Wednesday, September 22, 2010 10:26 AM
  • User-1199946673 posted

    But I think you still have to write the mobile version of the web site !?
     

    Not if you don't have special Mobile Pages. Because although you can develop a mobile page just like a normal webpage, the screens are much smaller, so it is common practice to create seperate webpages for mobile devices, using limited amount of images and taking into account the small screensize...

    Wednesday, September 22, 2010 10:55 AM
  • User1943143334 posted

    Hi,

     You can develop a general ASP.NET web application which works absolutely fine with all Mobile browsers[HTML Compatable] .

    You need to add some meta tags for proper display in Mobile phones.

    Check the link

    http://roopeshreddy.spaces.live.com

     

    Hope it helps u...

    Wednesday, September 22, 2010 11:39 PM
  • User-1065726372 posted

    So I did try some coding using the mobile web form template is VS2008.

    But when I tried to link to a stylesheet I got an error saying that <LINK> is not supported in mobile pages. So how do you link to a style sheet in the mobile template ?

    Thursday, September 23, 2010 5:16 PM
  • User-1199946673 posted

    But when I tried to link to a stylesheet I got an error saying that <LINK> is not supported in mobile pages. So how do you link to a style sheet in the mobile template ?
     

    What do you mean by Mobile Pages? Mobile Pages for modern phones are normal ASP.NET webpages. The only thing you need to take into account is that they must work on tine screen. If you know how to create normal web pages, you can create Mobile pages....

    Thursday, September 23, 2010 5:23 PM
  • User-1065726372 posted

    OK - what I'm failing to do is understand how to scale things.

    SO I wrote a test page in normal HTML/ASP.NET and made things really small on my monitor screen.

    When I uploaded to the net and tried it out on my iPhone the page was too small to see !!

    Whoops !? What am I missing here ? 

    Have I got to detect the mobile browser and change the page layout accordingly ?

    Do I make <div> sections 100% wide ?


    Thursday, September 23, 2010 6:34 PM
  • User-1065726372 posted

    OK,

    I'm still not getting the hang of it !?

    Thursday, September 23, 2010 6:53 PM
  • User-1065726372 posted

    Sorted I think.


    One of the most useful pages I found was :


    http://www.elementfusion.com/tutorial-optimizing-your-website-for-mobile-devices


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, September 24, 2010 3:03 PM