Microsoft .Net Mobile Question:

Download Job Interview Questions and Answers PDF

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

.Net Mobile Interview Question
.Net Mobile Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain .NET Mobile SelectionList Control?What are .NET Mobile controls features?