Cellvaluechanged cellvalidating

I want the cursor to stay in that specific row if the input is wrong (eg also letters and not only numbers) Ive been searching around and found the Cell Validating event that is supposed to keep the cursor in the current row if the input is not valid and else its moving one row down. ive tried this now: Private Sub Cell Validating(By Val sender as Object, By Val e as Data Grid View Cell Validating Event Args)Handles DGV. I looked it up in the internet and found only the solution e. (the cursor still moves one row down...) how can i prevent the cursor from moving down into the next row if the input is wrong? Besides which, you are, in my opinion, attempting to do far too much in Cell Validating event.Cancel needs to be set to True (ie, Cancel the validation) Have you set a breakpoint to ensure that wrong Input is True? And the wrong value is deleted from the Data Grid View right after checking. But is it possible to set the wrong value to a value that is accepted by the Cell Validating Event? I mean i have to check the input to see if its correct havent i?Kind regards, Martin Vasilev the Telerik team Registration for Q1 2011 What’s New Webinar Week is now open.

Is there any other event to do calculation in data gridiview so that calculation is correct.However, looking at your screenshots I see that you have a quite complex scenario, and it is possible that there is something specific which causes the reported issue.If I understand you right, you have found a work-around for you case.Could you strip only a part of your code and send it as a small example to allow us looking into this issue?In order to be able to send us your project, you have to open a new support ticket.