Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: ClientValidationFunction vs OnserverValidate ?


Message #1 by "Yu, Kevin" <kyu@N...> on Mon, 22 Oct 2001 14:12:13 -0400
I want to validate my client input right after they fill in the input field,

then I use

ClientValidationFunction, but I want to do something more than just

validating

the inputed values, I want to sum the input(number fields), but then how do

I access

the elements in the controls such as <ASP:DATALIST>?	



one thing about the Onservervaidate is that the input will be posted back to

server 

after user click the submit botton to post the input, but is there anyway I

can use like

"onlostfocus" that cause the server to validate the list? because that way,

I can access

all the control from server-side easily.



thanks



Kevin Yu

system.data.oledb

coop student

Western Research Center - Natural Resource Canada

email: kyu@n...

phone:(780) 987-8611




  Return to Index