I'd like to have special fields with ASP.NET, I use ASP:TextBox for my login page. The idea is : when you are in a mobile device, it recognizes the field and purpose a special keyboard with only numbers (my login page uses only numbers)
I tested that, but it doesn't works :
<asp:TextBox CssClass="LoginTxtBox" ID="Txt_nom" runat="server" AutoCompleteType="Disabled" ForeColor="Black" MaxLength="20" Width="100%" Height="30px" TextMode="Number"></asp:TextBox>
"Number isn't a member of System.UI.WebControls.TextBoxMode"
I checked and Number is a member of this. I don't understand why I can't debug with that. (I can launch the website with IIS, no issue)
Thanks for your help !