8 Answers, 1 is accepted
But you could set "numeric" HTMLType for RadTextBox and use it instead:
There's no way to use the nice validation/formatting of this field and have it popup a 'number pad' on touch devices instead of the full keyboard.
Is there any way to force the RadNumericTextBox at all or suggestions?
.. just started, so going to investigate the child controls etc.
I've implemented a custom tag that overrides the RadNumericTextBox and overwrites the Render method.. basically, I'm letting the Rad Designer create the html, then I'll manipulate it as I want, and fire it out..
in my App_Code ->
and inside the aspx
currently the only other 'type=' the base render returns is 'hidden' ..
I'm not sure how performant or resource intense this might be, but for my purposes, I don't expect it should be an issue
I forgot to mention that I added a dummy selector class to my CSS file for finding all radnumeric textboxes on the page, since I didn't see a common telerik class they use. This makes it nice and easy. Simply add this class to any container div or span around the RadNumericTextbox you want to affect.
Markup would look something like this...
Note: you can disregard the type="Number" in the markup here. It's irrelevant since RadNumericTextBox ignores it anyway (changes it to type="text", and the whole purpose of my jQuery code is to fix the issue.