Page.IsValid

  • Thread starter Thread starter Fetty
  • Start date Start date
F

Fetty

if "Page.IsValid" comes up false, how can I see what controls are not
valid?

Dave
 
if "Page.IsValid" comes up false, how can I see what controls are not
valid?

Dave

Page also has a "Validators" property. Loop through it to find the
validators that reported an error. What *inputs* were in error depends
on the specific validator.

Hans Kesting
 
I wish MS would implement a validator that was not connected to a specific
control, so that validation may be performed on the server and errors
reported back to the client!
 
I wish MS would implement a validator that was not connected to a specific
control, so that validation may be performed on the server and errors
reported back to the client!

CustomValidator ?
You don't need to tie it to a specific control, and you can specify
both client-side javascript (function call) and server side handler.

Hans Kesting
 

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