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

RowValidating problems

3 Answers 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
ol
Top achievements
Rank 1
ol asked on 05 Aug 2010, 07:17 PM
Hi,


I'm using 2009.2.9.729 version of Telerik WinForms on Windows 7. When validating using RowValidating event, I have some problems with it:   1) If the user cliks in some areas, like shadow area around expanded group, it doesn't fire, so its imposible to validate the data in row's cells. 2) when adding a new row, it doesn't have the new data in the e.row parameter, all cells values equal "nothing". 3)Whe enter key es pressed, the RowValidating fires, but the new row is added to datasource even if cancel is set to true.

Thanks .......  

3 Answers, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 09 Aug 2010, 05:52 PM
Hello ol,

The RowValidating event is fired only when changing the current row. There are a few known issues that we have already addressed regarding this behavior related to the row and cell validation. You cannot access the new row's data in RowValidating event, because the GridViewNewRowInfo instance clears its data immediately after the new record is committed to the data source.

I highly recommend upgrading to the latest version Q2 2010 SP1, where many of these issues have been addressed.
 

All the best,
Svett
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
ol
Top achievements
Rank 1
answered on 10 Aug 2010, 06:22 PM
Thanks for your answer.

I would like to know if only the last version is available to download, or it is possible to download a prior version when license is purchased, because the version which worked correctly for us was Q1 2010 SP2 (version 2010.1.10.504) . I wasn't able to run the developed code using the last version.

 Thanks
0
Svett
Telerik team
answered on 13 Aug 2010, 03:09 PM
Hello ol,

The improvements we have made to RadGridView have also introduced some breaking changes. You can read more about these in the Q1 2010 (2010.2 10.713) and Q1 2010 SP1 (2010.2 10.806) release notes. Please note that you can download an older version of our controls only if you have already downloaded it, e.g. if you have not downloaded Q2 2009, you will not be able to download it now.

Greetings,
Svett
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
Tags
GridView
Asked by
ol
Top achievements
Rank 1
Answers by
Svett
Telerik team
ol
Top achievements
Rank 1
Share this question
or