Numeric Mobile textbox (VB.net) : TextBox « Mobile Control « ASP.Net






Numeric Mobile textbox (VB.net)

<%@ Page 
    Inherits="System.Web.UI.MobileControls.MobilePage" 
    Language="VB" 
%>
<%@ Register 
    TagPrefix="mobile" 
    Namespace="System.Web.UI.MobileControls" 
    Assembly="System.Web.Mobile" 
%>
<mobile:Form id="Test" runat="server">
    <mobile:Label 
        runat="server"
        id="lblTitle"
        StyleReference="title" 
        Text="TextBox Test Page"
    />
    <mobile:Label 
        runat="server"
        id="lbl1"
        Text="Enter Some Text"
    />
    <mobile:TextBox
        runat="server"
        id="txt1"
        MaxLength=20        
    />
    <mobile:Label 
        runat="server"
        id="lbl2"
        Text="Enter a Number"
    />
    <mobile:TextBox
        runat="server"
        id="txt2"
        MaxLength=20        
        Numeric=True
    />
    <mobile:Label 
        runat="server"
        id="lbl3"
        Text="Enter Password"
    />
    <mobile:TextBox
        runat="server"
        id="txt3"
        MaxLength=20        
        Password=True
    />
</mobile:Form>

           
       








Related examples in the same category

1.Mobile textbox size and length (VB.net)
2.Get value from mobile textbox (VB.net)