..." /> Can You Explain <MobileLink> Element .NET Mobile With Example? ..." /> ..." />
Answers

Question and Answer:

  Home  .Net Mobile

⟩ Can you explain <MobileLink> element .NET Mobile with example?

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>

 213 views

More Questions for you: