This is a migrated thread and some comments may be shown as answers.

Can GridNumericColumn use type=number?

3 Answers 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joan
Top achievements
Rank 1
Joan asked on 16 Apr 2012, 02:01 PM
Is it possible to get the GridNumericColumn to set the <input> to type="number" in order to get the iPad to show the number keyboard?

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 19 Apr 2012, 09:56 AM
Hi Joan,

You could use RadTextBox with type number in template column.
<telerik:RadTextBox InputType="Number" runat="server"> </telerik:RadTextBox>
The RadNumericTextBox on the other hand includes a lot of client scripts that will not work with combination of type="number", since the control is designed long before the html5 to be considerate, this is the reason the GridNumericColumn also does not have such property, since it renders RadNumericTextBox.

All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Joan
Top achievements
Rank 1
answered on 19 Apr 2012, 01:14 PM
Is ther a plan to solve it? I really want to keep the numeric validation that the radnumerictextbox provides.
0
Vasil
Telerik team
answered on 19 Apr 2012, 01:54 PM
Hello Joan,

We will wait until the browsers become more consistent about rendering their features when using number, datetime, date, etc. HTML5 types. Currently they are making lot's of changes in every new version that is messing up with client side events. Without consistent working of the client events, the control could not update it's display format, error messages, empty messages and so on. Once the IE, Firefox, Chrome and Opera starts to behave closely and supports such types, we will do our best to support the NumericTextBox with combination of type="number". We don't want to break it on rest of the browsers for showing the numpad on one.

All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Joan
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Joan
Top achievements
Rank 1
Share this question
or