This is a migrated thread and some comments may be shown as answers.
RadGrid Input Masks
1 Answer 43 Views
This is a migrated thread and some comments may be shown as answers.
Carlos Castillo
Top achievements
Rank 1
Carlos Castillo asked on 12 May 2010, 11:25 PM
Hi, from Bogota, Colombia.

My question is about input masks, and how to apply it in a column.

I have a RadGrid with some columns, numeric and character, but numbers are hold in database as varchar (SQL Server).

I want t know, if are there any validation that i can apply to a column data (GridBoundColumn) in order that it validate that "numeric" columns accept only numbers (0-9) and the character columns accept only characters. For example, the character column must accept "John Paul II" or "Benedict XVI", must not accept "John Paul 2" or "Benedict 16" . A similar way for "numeric" columns.

Thanks in advance, and please forgive mistakes. English is not my native languaje.

CARLOS ALBERTO CASTILLO
Software Developer
Bogota, Colombia. 

1 Answer, 1 is accepted

Sort by
0
Suresh K
Top achievements
Rank 1
answered on 13 May 2010, 09:25 AM
Hi.

can you check this link.
They were demonstrated the example with validations.

http://demos.telerik.com/aspnet-ajax/input/examples/common/validation/defaultcs.aspx

and also add the range validation to the first text box(Name Text box) in the example.


Tags
Grid
Asked by
Carlos Castillo
Top achievements
Rank 1
Answers by
Suresh K
Top achievements
Rank 1
Share this question
or