Reputation: 308
I have form of adding members in phone application page, in that form, one field is ZIP CODE, so how do I get keyboard of numbers on text changed event? thanks!!
Upvotes: 0
Views: 274
Reputation: 3331
The answer given above in a single line could be
<TextBox Name="txtZipCode" InputScope="Number"/>
Upvotes: 2
Reputation: 1178
Check with this InputScope, Refer this
<TextBox Name="txtZipCode" >
<TextBox.InputScope>
<InputScope>
<InputScopeName NameValue="Number" />
</InputScope>
</TextBox.InputScope>
</TextBox>
Upvotes: 5