Link element in .NET Mobile with example

Explain <Mobile:Link> element .NET Mobile with example.

The <Mobile:Link> element enables a user to navigate between 2 forms in a page.

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

<Mobile:Form id="form1" runat="server">
       <Mobile:Label runat="server">Hello World1
       <Mobile:Link runat="server" NavigateURL="#form2">Form2

<Mobile:Form id="form2" runat="server">
       <Mobile:Label runat="server">Hello World2
       <Mobile:Link runat="server" NavigateURL="#form1">Form1
.NET Mobile controls features
.NET mobile controls features: Build web pages for many types of mobile devices instead of targeting specific ones......
.NET Mobile Events
.NET Mobile Events - .NET mobile controls expose events which are device independent. They have an object model with programmable properties, methods and events....
.NET Mobile input controls
.NET Mobile input controls - .NET provides a variety of input controls to enable interaction form the user:...
Post your comment