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

Immediate Action on Checkbox Click

1 Answer 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pixie
Top achievements
Rank 1
Pixie asked on 17 Jun 2019, 02:35 AM

I have a gridview with a checkbox column. When the checkbox is checked, I would like to immediately perform some validation and cancel the check if the validation fails. I would like this to happen immediately and not when the user leaves the cell. 

I have set the editmode of the column to onvaluechange and now the CellValueChanged event fires as soon as the checkbox is checked. I can perform validation there and show a messagebox immediately if the validation fails. However if I uncheck the textbox from the CellValueChanged event, it doesn't take affect until the user leaves the cell.

I've tried using the CellValidation event but it doesn't fire until the user leaves the cell. 

How can I uncheck the checkbox and have it take effect immediately, without the user having the leave the cell?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Jun 2019, 09:17 AM
Hello, Pixie,

Your question has already been answered in the other thread you have posted on the same topic. Please, see our answer there for more information.

We kindly ask you to use just one thread for a specific problem to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

Thank you for your understanding.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Pixie
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or