Click here to Skip to main content
15,909,652 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: User control variable not declared in .aspx page Pin
Sandeep Mewara20-Feb-13 19:17
mveSandeep Mewara20-Feb-13 19:17 
QuestionThe information session ID Pin
Mohammad Hussein Fakhravari20-Feb-13 12:45
Mohammad Hussein Fakhravari20-Feb-13 12:45 
AnswerRe: The information session ID Pin
Sandeep Mewara20-Feb-13 17:14
mveSandeep Mewara20-Feb-13 17:14 
AnswerRe: The information session ID Pin
Mohammad Hussein Fakhravari21-Feb-13 8:28
Mohammad Hussein Fakhravari21-Feb-13 8:28 
Questionbutton disable until all required fields are filled Pin
Member 870181320-Feb-13 7:12
Member 870181320-Feb-13 7:12 
AnswerRe: button disable until all required fields are filled Pin
Sandeep Mewara20-Feb-13 17:13
mveSandeep Mewara20-Feb-13 17:13 
GeneralRe: button disable until all required fields are filled Pin
Member 870181320-Feb-13 20:04
Member 870181320-Feb-13 20:04 
GeneralRe: button disable until all required fields are filled Pin
Sandeep Mewara20-Feb-13 21:42
mveSandeep Mewara20-Feb-13 21:42 
GeneralRe: button disable until all required fields are filled Pin
Member 870181320-Feb-13 21:57
Member 870181320-Feb-13 21:57 
GeneralRe: button disable until all required fields are filled Pin
Sandeep Mewara20-Feb-13 22:55
mveSandeep Mewara20-Feb-13 22:55 
GeneralRe: button disable until all required fields are filled Pin
Member 870181321-Feb-13 2:07
Member 870181321-Feb-13 2:07 
GeneralRe: button disable until all required fields are filled Pin
Member 870181321-Feb-13 5:00
Member 870181321-Feb-13 5:00 
GeneralRe: button disable until all required fields are filled Pin
Member 870181320-Feb-13 22:09
Member 870181320-Feb-13 22:09 
QuestionPlease Wait .... Pin
jojoba201119-Feb-13 21:19
jojoba201119-Feb-13 21:19 
AnswerRe: Please Wait .... Pin
Sandeep Mewara19-Feb-13 22:11
mveSandeep Mewara19-Feb-13 22:11 
AnswerRe: Please Wait .... Pin
Karthik Harve20-Feb-13 19:07
professionalKarthik Harve20-Feb-13 19:07 
QuestionRe: Please Wait .... Pin
jojoba201122-Feb-13 23:26
jojoba201122-Feb-13 23:26 
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...

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.