Add mobile label to mobile panel (VB.net) : Panel « Mobile Control « ASP.Net






Add mobile label to mobile panel (VB.net)

<%@ Page 
    Inherits="System.Web.UI.MobileControls.MobilePage" 
    Language="VB" 
%>
<%@ Register 
    TagPrefix="mobile" 
    Namespace="System.Web.UI.MobileControls" 
    Assembly="System.Web.Mobile" 
%>
<script runat="server" language="VB">
</script>

<mobile:form 
    id="FirstPage" 
    runat="server">
<mobile:panel
    id="Pan1"
    runat="server"
    forecolor="Red"
    font-name="Arial"
    alignment="right"
>
    Raw text
    <BR>
    <B>More raw text</B>
    <BR>
    <mobile:label
        id="lbl1"
        runat="server"
        text="Hello"
    />
</mobile:panel>
</mobile:form>

           
       








Related examples in the same category

1.Add control to mobile panel in code (VB.net)