True or false: Mobile server controls don't require the runat="server" attribute.
A1:
False. Mobile server controls are still server controls, and therefore are required to be created on the server.
3:
What does the Call server control do?
A1:
It presents UI to enable the user to dial a phone number.
4:
What are the two values for the StyleReference property?
A1:
Title, which causes text to be displayed in bold, and Error, which causes text to be rendered in italicized red.
5:
How do you explicitly display a mobile Web form programmatically?
A1:
Set the ActiveForm property to the form's name.
6:
True or false: You can respond to mobile server control events the same as ASP.NET server control events.
A1:
True.
7:
What does the <DeviceSelect> element do, and what does it represent on the page?
A1:
The <DeviceSelect> provides a means to display different content depending on the viewing device. It is used as a container on the page for <Choice> elements.
Exercise
Q1:
Create a mobile application that will allow users to make credit card payments through their cell phones. Users should be allowed to enter a credit card number and a value for the amount to be paid (don't forget to supply a way to submit the input). Don't worry about recording or applying the payment to something. Simply display a thank-you message to the user when the submission is complete.