TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dave Abram
NA
6
0
Using e.cancel with tab selection messes up datagridview mouse buttons.
Mar 31 2011 11:26 AM
I have 3 tabs with datagridviews. When the user adds a new record, then leaves the row, I call up the rowvalidating and ask the user if they want to discard the record that wasn't saved. If they say no, I use the e.cancel and it works great. It takes them back to the record, they can do whatever they want.
However, if they click on a different tab after inserting a new record, the e.cancel seems to mess up some of the mouse click events. I can click on the cells for inserted row, but the dropdown no longer expands, and I cannot highlight any text in cell, but I can type in the cells with no problem.
When I put a breakpoint on the datagridview_cellclick event, it doesn't event register that I clicked the cell.
Using VS2008 Pro
Dave
Reply
Answers (
3
)
The type or namespace name 'CrystalDecisions' could not be found
Cloning of Ultrawintree