Mobile Label: bold, reference style (VB.net) : Label « Mobile Control « ASP.Net






Mobile Label: bold, reference style (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="Test" runat="server">
    <mobile:Label 
        runat="server"
        id="lblTitle"
        StyleReference="title" 
        Text="Title Text Style"
    />
    <mobile:Label 
        runat="server"
        id="lblError"
        Alignment="Center" 
        Text="The word <B>bold</B> is not in bold."
    />
    <mobile:TextView 
        runat="server"
        id="tvTextr"
        Text="The word<BR><B>bold</B><BR>is in bold."
    />
</mobile:Form>

           
       








Related examples in the same category

1.Set text to mobile label (VB.net)
2.Mobile label: font and alignment (VB.net)
3.Mobile label visibility (VB.net)
4.Mobile label: foreground color and wrap (VB.net)