custom validator and ajax

  • Thread starter Thread starter Jeremy
  • Start date Start date
as the ms ajax library does not do synchronous service calls only
asynchronous (the "a" in ajax) you would need to redo the validation
logic as it does not support async. you could tie an ajax call to a lost
focus and hope it completes before a postback is requested (tough if the
lost focus is the click on the postback button).

-- bruce (sqlwork.com)
 
Hi Jeremy,
How would I go about using a custom validator to make a server side call
using ajax?

Can't you just use an updatepanel? That way, the custom validator
returns after calling the server-side validation function, but the user
will not notice the postback.

Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top