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

Disable validation in grid

9 Answers 279 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Avi Avni
Top achievements
Rank 1
Avi Avni asked on 01 Aug 2010, 07:12 AM

Hi

After I download the new dlls of telerik the grid start to do auto validation

We are implementing I Data Error Info interface and the grid catch all the exceptions

That was thrown.

  I need to disable the validation in the grid  

Best Regards

Ehud

9 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 02 Aug 2010, 06:03 AM
Hello Ehud Pinchas,

We would really appreciate it if you could give us more information about your scenario and how disabling validation fits into your scenario. Why do you need to disable validation? At the moment the validation cannot be disabled but we could possibly introduce such option.


All the best,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pascal
Top achievements
Rank 1
answered on 09 Aug 2010, 04:22 PM
Hi There.
we face exactly the same problem . we use a gridview as a selection list (readonly = true)
a click on this list opens a editor form using INotifyDataErrorInfo validation and the list item as a reference
the form is using mvvm.
if the form contains a field with an error we see the the error message not only on the edit page but also on the grid.
this would be ok but  a correction of wrong field clears only the form error but not in the grid!
any ideas how to fix this?
Thank you
Eric

PS: sorry - i just realised this is a WPF forum - please move this to the SL forum
0
Vlad
Telerik team
answered on 09 Aug 2010, 04:40 PM
Hi Eric,

 We cannot move your post since it will be unfair to the person who opened this thread. Please post your question in our Silverlight forum. Can you please also try our latest internal build to and let me know if you still have problems?

Regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pascal
Top achievements
Rank 1
answered on 10 Aug 2010, 08:52 AM
Hi Vlad ,
thanks for your quick response . Later tonight i found a issue on the public Telerik bugtracking describing my problem.
Luckily it was already fixed :) http://www.telerik.com/support/pits.aspx#/public/silverlight/2894
I can confirm this using the latest dll.
Neverteless I suggest that a readonly gridview (wpf and SL) should not fire any validation errors.
Best regards
Eric
0
Avi Avni
Top achievements
Rank 1
answered on 10 Aug 2010, 11:47 AM
Hi Vlad

I still can't use the new Dell's I have read Only Grids and the grid does the validation

I don't want this validation and it all start in the new Dll's

Now I working with the 2010.1.603.35 Version and the grid don't catch the

 I data error Info implementation.

So how can I solve this problem I really need the new Dll's.

Best Regard Ehud

0
Nedyalko Nikolov
Telerik team
answered on 12 Aug 2010, 08:30 AM
Hello Ehud Pinchas,

With the current version of RadGridView IDataErrorInfo validation cannot be suppressed. We are about to add a property RadGridView.ValidatesOnDataErrors which will make this possible. Unfortunately we've not managed for the upcoming service pack, so this property will be available with the next latest internal build.
Sorry for the inconvenience caused.

Sincerely yours,
Nedyalko Nikolov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
john doe
Top achievements
Rank 1
answered on 19 Aug 2010, 10:05 AM

We are also developing new enterprise silverlight application and we would also need to hawe the option to disable grid ValidatesOnDataErrors. I hope you will implement this functionality soon. 

Thumbs up for great telerik controls set by the way!

0
Nedyalko Nikolov
Telerik team
answered on 19 Aug 2010, 02:47 PM
Hi john doe,

We will introduce RadGridView.ValidatesOnDataErrors and GridViewBoundColumnnBase.ValidatesOnDataErorrs which is an enumeration with values (None, InViewMode, InEditMode, Default). Default value combines InViewMode and InEditMode values. You will be able to use these properties to control when RadGridView to perform data validation (provided by IDataErrorInfo and INotifyDataErrorInfo (for SL only)).
These new properties will be available with the next latest internal build (next Friday 20 Aug 2010).

Kind regards,
Nedyalko Nikolov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pascal
Top achievements
Rank 1
answered on 30 Aug 2010, 10:34 AM
Nice one! - works fine for us in the SL version of the Grid.
Thanks
Eric
Tags
GridView
Asked by
Avi Avni
Top achievements
Rank 1
Answers by
Milan
Telerik team
Pascal
Top achievements
Rank 1
Vlad
Telerik team
Avi Avni
Top achievements
Rank 1
Nedyalko Nikolov
Telerik team
john doe
Top achievements
Rank 1
Share this question
or