Since you have not added your new row yet it should validate OK.
Or if not, then it is because the user has entered an invalid value in the current cell. Something there is causing the cell validating event to fire. [Edit] The validating event is firing because focus is being moved from the DGV to the button.
Hope this helps, if you have any other questions or comments, please let me know, Best Regards, Emanuel Varga The funny thing is: the Cell Validating Event Args class gives you everything except the cell itself! I think it would be better to replace Value, Row Index, and Column Index with a cell object which contains all those properties and more. Where are all the row, rowindex, column, columnindex, columns, or rows properties??? You can set the Error Text of the row to indicate that it is not valid. Best regards, Alexander the Telerik team Do you want to have your say when we set our development plans?I fell bad for the Value Changing Event Args class!!! You can use the Current Row, Current Column and Current Cell properties of Rad Grid View when you handle the event is fired twice using the lastest version of the Rad Grid View control (Q2 2010 SP2). Do you want to know when a feature you care about is added or when a bug fixed?If there are cells that you dont want to validate (eg read only cells) then add a check at the start of the event handler that will cause it to exit if it is trying to validate those cells.For instance, if column with index 2 is read only and you dont want to validate cells in that column you could use: If you have attached an event handler to the Cell Validating event then it will always fire when focus leaves the cell.1) Add a conditional statement in the event handler code to only execute when required.
2) Detach the event hander before the unwanted event triggers and re-attach after.Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items Hi All, I have an issue while validating the cell of rad gridview.I have used cell validating event for checking whether the cell is empty or not.2) Detach the event hander before the unwanted event triggers and re-attach after. so when i click the add button the cell validating event triggers i have posted the cell validating event do you know how to solve this thanxxx code!!!Something there is causing the cell validating event to fire. [Edit] The validating event is firing because focus is being moved from the DGV to the button.Hi, I have Rad Grid View object and I want to Validate user input. when the user enters a value which is greater than 0 for column1 then if the column2 is greater than 0 an error must be occured and also this is the rule for coulmn2 (that is if coulmn2 value is greater than 0 and also column1's value is greater than 0 the error occurs.) the problem is that first of all I must check the value of a cell.