Microsoft .Net Mobile Question:
Download Questions PDF

What is .NET Mobile Utility Controls. Explain with an example?

.Net Mobile Interview Question
.Net Mobile Interview Question

Answer:

.NET mobile has a variety of utility complex controls:

AdRotator: A control which displays different images one by one.
Calendar: Standard calendar control for mobile devices.
PhoneCall: Selects the number displayed and calls that number.

Example: Displays text Mike’s Number, and dial the number (91) 1111-111 when the user selects the text.

<%@ Page Inherits= "System.Web.UI.MobileControls.MobilePage"%>
<%@ Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls" Assembly="System.Web.Mobile" %>

<Mobile:Form runat="server">
<Mobile:PhoneCall runat="server" PhoneNumber="(91) 1111-111" Text="Mike's number" AlternateFormat="{0}" />
</Mobile:Form>

Download .Net Mobile Interview Questions And Answers PDF

Previous QuestionNext Question
What is password attribute of the textbox control of .NET Mobile?What is .NET Mobile Input Validation. Explain with an example?