Click here to Skip to main content
12,512,686 members (26,389 online)
   

ASP.NET

 
Questionftp uploaded files are empty Pin
Omid Reza Aryafar19-Feb-13 2:43
memberOmid Reza Aryafar19-Feb-13 2:43 
AnswerRe: ftp uploaded files are empty Pin
Richard Deeming19-Feb-13 4:17
memberRichard Deeming19-Feb-13 4:17 
GeneralRe: ftp uploaded files are empty Pin
Omid Reza Aryafar19-Feb-13 4:34
memberOmid Reza Aryafar19-Feb-13 4:34 
QuestionCan a Compare validator fire when either of two controls changes? Pin
darookie9918-Feb-13 17:13
memberdarookie9918-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
memberdarookie9919-Feb-13 13:51 
AnswerRe: Can a Compare validator fire when either of two controls changes? Pin
ryanb3119-Feb-13 2:32
memberryanb3119-Feb-13 2:32 
AnswerRe: Can a Compare validator fire when either of two controls changes? Pin
Keith Barrow19-Feb-13 4:07
mentorKeith 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
memberMember 870181318-Feb-13 7:39 
AnswerRe: multilanguage application Pin
Sandeep Mewara18-Feb-13 7:58
mvpSandeep Mewara18-Feb-13 7:58 
GeneralRe: multilanguage application Pin
Member 870181325-Feb-13 21:59
memberMember 870181325-Feb-13 21:59 
GeneralRe: multilanguage application Pin
Sandeep Mewara25-Feb-13 23:24
mvpSandeep Mewara25-Feb-13 23:24 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 1:44
memberMember 870181326-Feb-13 1:44 
GeneralRe: multilanguage application Pin
Sandeep Mewara26-Feb-13 2:04
mvpSandeep Mewara26-Feb-13 2:04 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 2:51
memberMember 870181326-Feb-13 2:51 
GeneralRe: multilanguage application Pin
Member 870181326-Feb-13 5:20
memberMember 870181326-Feb-13 5:20 
AnswerRe: multilanguage application Pin
Sandeep Mewara26-Feb-13 5:38
mvpSandeep Mewara26-Feb-13 5:38 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 4:38
memberMember 870181327-Feb-13 4:38 
GeneralRe: multilanguage application Pin
Sandeep Mewara27-Feb-13 4:48
mvpSandeep Mewara27-Feb-13 4:48 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 6:24
memberMember 870181327-Feb-13 6:24 
GeneralRe: multilanguage application Pin
Sandeep Mewara27-Feb-13 6:28
mvpSandeep Mewara27-Feb-13 6:28 
GeneralRe: multilanguage application Pin
Member 870181327-Feb-13 16:10
memberMember 870181327-Feb-13 16:10 
Questions/m has to send mail on button click event Pin
Member 870181318-Feb-13 5:24
memberMember 870181318-Feb-13 5:24 
AnswerRe: s/m has to send mail on button click event Pin
Sandeep Mewara18-Feb-13 5:57
mvpSandeep Mewara18-Feb-13 5:57 
GeneralRe: s/m has to send mail on button click event Pin
Member 870181318-Feb-13 6:42
memberMember 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.


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 30 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid