Microsoft .Net Mobile Question:
What is .NET Mobile Utility Controls. Explain with an example?
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>
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>
Previous Question | Next Question |
What is password attribute of the textbox control of .NET Mobile? | What is .NET Mobile Input Validation. Explain with an example? |