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

[Solved] cell & Row Validation

5 Answers 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
kannan
Top achievements
Rank 1
kannan asked on 03 Nov 2010, 05:48 AM
Hi,
  How to clear cell & Row validation when click cancel button ,even if the cell or row has validation errors. 

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 03 Nov 2010, 08:01 AM
Hello kannan,

You may take a look at this forum thread for a reference.
 

Regards,
Maya
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
kannan
Top achievements
Rank 1
answered on 03 Nov 2010, 11:02 AM
Hi,
    Yes..this is working ..
    But ...i have two RadGridview with edit mode. when i click the cancel button , both the RadGridView has to exit from Validation.

How to solve this problem...



Thanks In Advance,
kannan.s
0
Maya
Telerik team
answered on 03 Nov 2010, 01:27 PM
Hello kannan,

In this case instead of using directly a command, you may handle the Click event of the Button and call CancelEdit for each one of the grids.
 

Best wishes,
Maya
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
kannan
Top achievements
Rank 1
answered on 03 Nov 2010, 02:18 PM
Hi,
    if i click cancel button, even the cell or row has validation, at that time only cellValidated & RowValidated event only fire not button click event. so i can't replicate the button event. 

Button click event only fire , if the cell or row does not have any error message ...

 

0
Maya
Telerik team
answered on 03 Nov 2010, 02:26 PM
Hi kannan,

I am not quite able to presume what are your exact requirement and expected behavior. When handling the Click event have you set the ActionOnLostFocus property of the grid ?
I would need more details about your settings and requirements, so that I could provide you with an appropriate solution. 
 

Regards,
Maya
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
kannan
Top achievements
Rank 1
Answers by
Maya
Telerik team
kannan
Top achievements
Rank 1
Share this question
or