C datagridview rowvalidating top singles 5 dating site
Thanks-Adam This is correct behavior, but kinda weird the way it comes across.
The issue is that when you press Esc the row is actually removed already since you are escaping out of the cell edit.
A few of them are now giving me a "Current cell cannot be set to an invisible cell" exception, but I haven't yet taken the time to debug it and I don't think I'll have any problem fixing that.
Thanks again Mark, I got one more scenario that I would like to run by you to see if you can help.
It keeps spitting out "Index 4 does not exist" in what seems to be an infinite loop. Row Index] in the Row Validating event, it works fine (but obviously doesn't validate like it should).
Here is my Row Validating code: Note: I have determined that any access to dgv Main. Row Index] (EVEN TO CHECK IF ITS NULL) will cause the dataerror to go nuts when hitting the escape key. Also, if I try to Watch anything in the de****, it says the DGV has 6 rows (it should have had 6 before, 5 after you hit escape and cancel the edit). Rows it times out and then my debugging doesnt work anymore after that, but if I try to view any other row it works fine. Is there anyway I can get this to work, or to disable the ability to cancel editing with the Escape key Thanks-Adam Does anyone know how I can work around this This is a pretty big issue.
Thanks a lot-Adam Hi Mark, I was able to reproduce the problem in a simple test app.
First, it will have to be a data-driven Data Grid View, my example uses the northwind database (although you will need to modify the connection string).
In order to be able to send us your project, you have to open a new support ticket.
Kind regards, Martin Vasilev the Telerik team Registration for Q1 2011 What’s New Webinar Week is now open.
To do that, I need a sample project, which demonstrates the issue.
Could you strip only a part of your code and send it as a small example to allow us looking into this issue?
Here's the weird (or weirder) part though: on my test app, the Row Validating event never gets fired if you press escape to cancel the edit - which seems right. Mark, do you know what could cause a Row Validating event to fire I have removed ALL other datagrid events except for Row Validating - and it's that one stupid messagebox that's actually the causing the problem within that event.Tags: Adult Dating, affair dating, sex dating