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

how to disable builtin validation for WPF gridview

3 Answers 130 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ano
Top achievements
Rank 1
Ano asked on 22 Jul 2011, 06:49 AM
hi

i had a numeric column in wpf rad grid,that column can be edited also.
all the validation are done through code only.
but i had an issue,when i try to enter any characters in that column,the grid is restricting me to any other operations in that application.
if any characters enter in that column and go for next operation,our application will valiadate and dispaly a message box showing only numeric values is accepted.
but i cannot display this message since the grid is restrcting me to do any other operation.
how we can disable this builtin valiadation of wpf radgrid.
any property and any other code for disabling is avaliable or not

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 22 Jul 2011, 07:27 AM
Hello Ano,

If you enter a string value for a numeric field, the built-in validation will be fired.  However, in this case it is not the grid that handles the validation, but the Framework.  
 

Regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Ano
Top achievements
Rank 1
answered on 22 Jul 2011, 07:45 AM
iam entering the value in wpf gridview column only,then the grid restrict the users to do any other operation in that application and focus is in to that column only where we entered the character instead of numeric.if we change that character to numeric,then it works fine.

0
Maya
Telerik team
answered on 22 Jul 2011, 07:54 AM
Hi Ano,

This would be the expected behavior. As mentioned previously, the Framework handles this validation, not the RadGridView. You will get the same behavior if you enter a string value into a TextBox bound to a numeric one. 
  

Regards,
Maya
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
GridView
Asked by
Ano
Top achievements
Rank 1
Answers by
Maya
Telerik team
Ano
Top achievements
Rank 1
Share this question
or