0

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!!

Viraj Shah
  • 308
  • 1
  • 12

2 Answers2

5

Check with this InputScope, Refer this

 <TextBox Name="txtZipCode" >
        <TextBox.InputScope>
            <InputScope>
                <InputScopeName NameValue="Number" />
            </InputScope>
        </TextBox.InputScope>
    </TextBox>
LakshmiNarayanan
  • 1,158
  • 9
  • 12
2

The answer given above in a single line could be

<TextBox Name="txtZipCode" InputScope="Number"/>
A.K.
  • 3,321
  • 1
  • 15
  • 27