简体   繁体   中英

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")

或者在你的aspx中写出来

<input type="email" id="emailTextBox" name="emailTextBox" runat="server" />

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM