Click here to Skip to main content
15,887,822 members
Home / Discussions / C#
   

C#

 
QuestionC# and MATLAB Pin
TriBerryPowerBar20-Aug-07 15:17
TriBerryPowerBar20-Aug-07 15:17 
AnswerRe: C# and MATLAB Pin
Scott Dorman20-Aug-07 17:23
professionalScott Dorman20-Aug-07 17:23 
QuestionUpdater block - downloading updates from a server Pin
steve_rm20-Aug-07 11:33
steve_rm20-Aug-07 11:33 
QuestionIP Control Pin
Demian Panello20-Aug-07 9:29
Demian Panello20-Aug-07 9:29 
AnswerRe: IP Control Pin
Demian Panello20-Aug-07 10:34
Demian Panello20-Aug-07 10:34 
QuestionLayout /map [modified] Pin
SpiveyC#20-Aug-07 7:49
SpiveyC#20-Aug-07 7:49 
AnswerRe: Layout /map Pin
Christian Graus20-Aug-07 11:00
protectorChristian Graus20-Aug-07 11:00 
QuestionValidation and closing a dialog Pin
Marc Clifton20-Aug-07 6:03
mvaMarc Clifton20-Aug-07 6:03 
I hate to think how many times this question has been asked, but here goes--

I have a "Back" button where "CausesValidation" is false. It closes the current dialog. The stupid thing is, the close dialog fires the validation routine!!! WTF? That's why I don't want validation. And I checked which control has focus when close fires, and it's the Back button.

So, what's the correct way of closing (as in, canceling) a dialog that has some controls that do validation, but the user's clicked on a back or cancel button (with CausesValidation set to false) so we obviously don't want to do validation?

Because, the stupid thing is, it's focused on a control that doesn't cause validation yet it's trying to validate a control!

Automatic validation, BTW, is one of the lamest, most poorly implemented features of .NET. I'm not even sure why I'm using it! It must have been by written by some highschool dropout on a bender.

Marc


AnswerRe: Validation and closing a dialog Pin
Eduard Keilholz20-Aug-07 6:10
Eduard Keilholz20-Aug-07 6:10 
GeneralRe: Validation and closing a dialog Pin
Marc Clifton20-Aug-07 6:17
mvaMarc Clifton20-Aug-07 6:17 
GeneralRe: Validation and closing a dialog Pin
Marc Clifton20-Aug-07 9:02
mvaMarc Clifton20-Aug-07 9:02 
QuestionListView list importing from .txt/ini file? Pin
Sylenze20-Aug-07 6:01
Sylenze20-Aug-07 6:01 
AnswerRe: ListView list importing from .txt/ini file? Pin
Eduard Keilholz20-Aug-07 6:59
Eduard Keilholz20-Aug-07 6:59 
GeneralRe: ListView list importing from .txt/ini file? Pin
Sylenze20-Aug-07 8:06
Sylenze20-Aug-07 8:06 
AnswerRe: ListView list importing from .txt/ini file? Pin
Luc Pattyn20-Aug-07 13:38
sitebuilderLuc Pattyn20-Aug-07 13:38 
Questioninstall windows fonts Pin
Werdna20-Aug-07 5:56
Werdna20-Aug-07 5:56 
AnswerRe: install windows fonts Pin
Eduard Keilholz20-Aug-07 6:55
Eduard Keilholz20-Aug-07 6:55 
GeneralRe: install windows fonts Pin
Werdna20-Aug-07 13:48
Werdna20-Aug-07 13:48 
AnswerRe: install windows fonts Pin
SpiveyC#20-Aug-07 7:52
SpiveyC#20-Aug-07 7:52 
AnswerRe: install windows fonts Pin
Okultist16-Jun-09 1:24
Okultist16-Jun-09 1:24 
Questionhow to call c#.net dll in vb 6.0 Pin
hk7792120-Aug-07 4:47
hk7792120-Aug-07 4:47 
AnswerRe: how to call c#.net dll in vb 6.0 Pin
Justin Perez20-Aug-07 4:57
Justin Perez20-Aug-07 4:57 
GeneralRe: how to call c#.net dll in vb 6.0 Pin
hk7792120-Aug-07 7:12
hk7792120-Aug-07 7:12 
GeneralRe: how to call c#.net dll in vb 6.0 Pin
Justin Perez20-Aug-07 8:11
Justin Perez20-Aug-07 8:11 
AnswerRe: how to call c#.net dll in vb 6.0 Pin
Christian Graus20-Aug-07 11:01
protectorChristian Graus20-Aug-07 11:01 

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.