Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
AnswerRe: Finally! I found a valid use for the ref keyword Pin
Gerry Schmitz27-Feb-18 6:15
mveGerry Schmitz27-Feb-18 6:15 
GeneralRe: Finally! I found a valid use for the ref keyword Pin
Richard Deeming27-Feb-18 6:30
mveRichard Deeming27-Feb-18 6:30 
GeneralRe: Finally! I found a valid use for the ref keyword Pin
Foothill27-Feb-18 6:32
professionalFoothill27-Feb-18 6:32 
GeneralRe: Finally! I found a valid use for the ref keyword Pin
Gerry Schmitz27-Feb-18 7:01
mveGerry Schmitz27-Feb-18 7:01 
GeneralRe: Finally! I found a valid use for the ref keyword Pin
Richard Deeming27-Feb-18 7:45
mveRichard Deeming27-Feb-18 7:45 
GeneralRe: Finally! I found a valid use for the ref keyword Pin
phil.o27-Feb-18 13:22
professionalphil.o27-Feb-18 13:22 
AnswerRe: Finally! I found a valid use for the ref keyword Pin
Bernhard Hiller27-Feb-18 21:30
Bernhard Hiller27-Feb-18 21:30 
Question[Solved] How to force DataGridView.CellValidating fires when user mouse click somewhere else? Pin
Mars Lam25-Feb-18 22:26
Mars Lam25-Feb-18 22:26 
Hi there,

DataGridView.CellValidatin works fine if all operations are done with keyboard. However, if the user has a mouse click on another cell, the focus goes to the new cell directly and the CellValidating event is never fired.

How to force cellValidating to fire (and keep the focus on the cell if the validation failed)? I googled a lot but could not find a solution to this problem.

Thanks in advance.

Mars Lam

-- modified 26-Feb-18 22:39pm.
AnswerRe: How to force DataGridView.CellValidating fires when user mouse click somewhere else? Pin
Eddy Vluggen26-Feb-18 0:02
professionalEddy Vluggen26-Feb-18 0:02 
GeneralRe: How to force DataGridView.CellValidating fires when user mouse click somewhere else? Pin
Mars Lam26-Feb-18 16:38
Mars Lam26-Feb-18 16:38 
GeneralRe: How to force DataGridView.CellValidating fires when user mouse click somewhere else? Pin
Eddy Vluggen27-Feb-18 1:56
professionalEddy Vluggen27-Feb-18 1:56 
AnswerRe: How to force DataGridView.CellValidating fires when user mouse click somewhere else? Pin
Gerry Schmitz26-Feb-18 5:40
mveGerry Schmitz26-Feb-18 5:40 
QuestionBarcode scanner with MVC C# web Application. Pin
Member 1366174225-Feb-18 19:00
Member 1366174225-Feb-18 19:00 
AnswerRe: Barcode scanner with MVC C# web Application. Pin
OriginalGriff25-Feb-18 20:06
mveOriginalGriff25-Feb-18 20:06 
Questionhow to loop through textboxes? Pin
Member 1307073625-Feb-18 7:03
Member 1307073625-Feb-18 7:03 
AnswerRe: how to loop through textboxes? Pin
Maciej Los25-Feb-18 7:27
mveMaciej Los25-Feb-18 7:27 
AnswerRe: how to loop through textboxes? Pin
BillWoodruff25-Feb-18 8:46
professionalBillWoodruff25-Feb-18 8:46 
AnswerRe: how to loop through textboxes? Pin
Luc Pattyn25-Feb-18 12:33
sitebuilderLuc Pattyn25-Feb-18 12:33 
GeneralRe: how to loop through textboxes? Pin
OriginalGriff25-Feb-18 21:47
mveOriginalGriff25-Feb-18 21:47 
GeneralRe: how to loop through textboxes? Pin
Member 1307073625-Feb-18 22:06
Member 1307073625-Feb-18 22:06 
GeneralRe: how to loop through textboxes? Pin
OriginalGriff25-Feb-18 22:20
mveOriginalGriff25-Feb-18 22:20 
GeneralRe: how to loop through textboxes? Pin
BillWoodruff25-Feb-18 23:18
professionalBillWoodruff25-Feb-18 23:18 
GeneralRe: how to loop through textboxes? Pin
BillWoodruff25-Feb-18 23:02
professionalBillWoodruff25-Feb-18 23:02 
GeneralRe: how to loop through textboxes? Pin
Luc Pattyn26-Feb-18 3:09
sitebuilderLuc Pattyn26-Feb-18 3:09 
GeneralRe: how to loop through textboxes? Pin
OriginalGriff26-Feb-18 4:55
mveOriginalGriff26-Feb-18 4:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.