GetControlValidationValue returns empty string

K

kurt sune

I have written a Custom Validator.

However the ServerValidate(ByVal source As Object, ByVal args As
ServerValidateEventArgs): sub gets called twice.

First with an empty args-argument, secondly with a correct value.

By debugging I found that the first call to
Me.GetControlValidationValue(Me.ControlToValidate)

returns an empty string.

The second call returns the correct value.



Can anybody shed some light on this?



/k
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top