input types on server side controls
I'm using asp.net to build an ipad webapp. I know that using input type="email"
will cause the keyboard layout on the ipad开发者_如何学运维 to change to handle email input more easily than the default. The problem is I'm using a server side text box control. Does anyone know how to make a server side control do this?
textBox.Attributes.Add("type", "email")
or write it out like this in your aspx
<input type="email" id="emailTextBox" name="emailTextBox" runat="server" />
精彩评论