Click here to Skip to main content
15,888,579 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionftp uploaded files are empty Pin
Omid Reza Aryafar19-Feb-13 2:43
Omid Reza Aryafar19-Feb-13 2:43 
AnswerRe: ftp uploaded files are empty Pin
Richard Deeming19-Feb-13 4:17
mveRichard Deeming19-Feb-13 4:17 
GeneralRe: ftp uploaded files are empty Pin
Omid Reza Aryafar19-Feb-13 4:34
Omid Reza Aryafar19-Feb-13 4:34 
QuestionCan a Compare validator fire when either of two controls changes? Pin
darookie9918-Feb-13 17:13
darookie9918-Feb-13 17:13 
AnswerRe: Can a Compare validator fire when either of two controls changes? Pin
Brij18-Feb-13 19:09
mentorBrij18-Feb-13 19:09 
GeneralRe: Can a Compare validator fire when either of two controls changes? Pin
darookie9919-Feb-13 13:51
darookie9919-Feb-13 13:51 
AnswerRe: Can a Compare validator fire when either of two controls changes? Pin
ZurdoDev19-Feb-13 2:32
professionalZurdoDev19-Feb-13 2:32 
AnswerRe: Can a Compare validator fire when either of two controls changes? Pin
Keith Barrow19-Feb-13 4:07
professionalKeith Barrow19-Feb-13 4:07 
Yes, that is one of it's intended uses.

you need to set the ControlToValidate and ControlToCompare to the ID of the controls you want to compare. There is documentation on it here[^], the main things you need to set are the Type property (seeh here[^]) and the Operator property (see here[^]) as well as the various display stuffm such as the error message.

It is possible to have more complex validation of controls, but you need to hand-roll your own JavaScript and Code-behind.

[Edit]
Totally misread your question, sorry! I think it validates of either is changed, but you've sown the seed of doubt in my mind! It wouldn't make sense to validate on only one control...

Questionmultilanguage application Pin
Member 870181318-Feb-13 7:39
Member 870181318-Feb-13 7:39 
AnswerRe: multilanguage application Pin
Sandeep Mewara18-Feb-13 7:58
mveSandeep Mewara18-Feb-13 7:58 
GeneralRe: multilanguage application Pin
Member 870181325-Feb-13 21:59
Member 870181325-Feb-13 21:59 
GeneralRe: multilanguage application Pin
Sandeep Mewara25-Feb-13 23:24
mveSandeep Mewara25-Feb-13 23:24 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 1:44
Member 870181326-Feb-13 1:44 
GeneralRe: multilanguage application Pin
Sandeep Mewara26-Feb-13 2:04
mveSandeep Mewara26-Feb-13 2:04 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 2:51
Member 870181326-Feb-13 2:51 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 5:20
Member 870181326-Feb-13 5:20 
AnswerRe: multilanguage application Pin
Sandeep Mewara26-Feb-13 5:38
mveSandeep Mewara26-Feb-13 5:38 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 4:38
Member 870181327-Feb-13 4:38 
GeneralRe: multilanguage application Pin
Sandeep Mewara27-Feb-13 4:48
mveSandeep Mewara27-Feb-13 4:48 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 6:24
Member 870181327-Feb-13 6:24 
GeneralRe: multilanguage application Pin
Sandeep Mewara27-Feb-13 6:28
mveSandeep Mewara27-Feb-13 6:28 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 16:10
Member 870181327-Feb-13 16:10 
Questions/m has to send mail on button click event Pin
Member 870181318-Feb-13 5:24
Member 870181318-Feb-13 5:24 
AnswerRe: s/m has to send mail on button click event Pin
Sandeep Mewara18-Feb-13 5:57
mveSandeep Mewara18-Feb-13 5:57 
GeneralRe: s/m has to send mail on button click event Pin
Member 870181318-Feb-13 6:42
Member 870181318-Feb-13 6:42 

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.