Validations

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have to do some validations related to various fields on the server.
I cannot use the .net Validation controls.
On page load I call my validation function. If it returns false I need to
send back the page without continuing with the other event handlers.

How do I do this?
 
Add a private variable (let's say IsPageValid) and set it to false then in
every event handler check first If IsPageValid Then...<do the event
handling>... Else Return.
 

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