setting property EnableClientScript=false

T

Tony Johansson

Hello!

I know that the default for RequiredFieldValidator is the
EnableClientScript=true which will generate a javascript to be passed to the
browser.

This is just for experimenting how it works.
If I disable this by setting the EnableClientScript=false the validator is
performed on the server instead and it works fine.

Is it possible to see the code that is used for the RequiredFieldValidator
when the validation is made on the server or
is it hidden or build in in some way.

//Tony
 
T

Tony Johansson

Big Steel said:
All you see are the events and properties of any html control on the
server side, which you write C# code in the code behind file to work
either the events or properties of the control. The control is an
object.

I don't think you understand my question. My question was if I disable
client side java script by setting EnableClientScript=false for
RequiredFieldValidator which mean that the validation for
RequiredFieldValidator will be made on the server side. Is it then possible
to see the code that is used for this matter. I assume that it's not
possible to the code that I ask about

//Tony
 

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

Top