Microsoft .Net Mobile Question: Download .Net Mobile PDF

Can you explain <Mobile:Link> element .NET Mobile with example?

Tweet Share WhatsApp

Answer:

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

<%@ 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:Label>
<Mobile:Link runat="server" NavigateURL="#form2">Form2
</Mobile:Link>
</Mobile:Form>

<Mobile:Form id="form2" runat="server">
<Mobile:Label runat="server">Hello World2
</Mobile:Label>
<Mobile:Link runat="server" NavigateURL="#form1">Form1
</Mobile:Link>
</Mobile:Form>

Download .Net Mobile PDF Read All 22 .Net Mobile Questions
Previous QuestionNext Question
Explain .NET Mobile SelectionList Control?What are .NET Mobile controls features?