Click to See Complete Forum and Search --> : CompareValidator this time :(


PallaviDalvi
November 5th, 2004, 02:47 AM
I feel really weird asking stupid questions...but i have no other choice as i cudnt get an answer on google :(
well... i have a CompareValidator control that compares the (string) values of two textboxes. i have a button thats supposed to display some text based on whether the validation succeded or failed. now when the page is valid....the onclick for the button is performed and the appropriate text displayed ... when the page is not valid...the button just wudnt work!
i tried adding a text to the CompareValidator....only prob being... i enter a value in first textbox....press tab to move to the second textbox and BANG the text is printed! it doesnt let me make a complete entry!
can anyone pleeeease explain things to me? or maybe point me to a resource that does! wud be a greeeat help! thanx!

PallaviDalvi
November 5th, 2004, 03:05 AM
well i just figured it out!!! i had to set EnableClientScript="false".... Only if i kept my eyes open, i wudnt end up asking such stupid queries!