Prev | Current Page 618 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"


Using actual devices is ideal; however, testing with an emulator is the next best thing. Many
of the popular mobile phone device manufacturers and other vendors provide an SDK with a
phone emulator for testing purposes. It is possible to use an emulator for testing ASP.NET mobile
web applications too. To display a mobile web form using the Pocket PC emulator, a wireless
application protocol (WAP) emulator, or an XHTML emulator, simply start the emulator, launch
the web browser (if necessary), and enter the URL.
Table 10-7. Container Mobile Controls
Name HTML Tag WML Tag Description
Form and Links to a new URL or deck
Panel
and Links to a new URL or deck
488 CHAPTER 10 ?–  OTHER SERVER CONTROLS
Once you have the desired emulators installed, you have a couple of options for debugging
a mobile web application. One option is to simply run the web application using Internet
Explorer. Once the browser loads, minimize it, and launch the desired emulator by entering the
URL for the mobile web application. Because the application is in debug mode, you will hit
breakpoints when viewing the web application in the emulator. When you have finished, close
Internet Explorer to stop debugging.


Pages:
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630