Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > GetControlValidationValue returns empty string

Thread Tools

GetControlValidationValue returns empty string

kurt sune
Posts: n/a
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

returns an empty string.

The second call returns the correct value.

Can anybody shed some light on this?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post returns an empty string? Christoph Söllner Python 2 10-18-2005 10:10 PM
FindControl Method always returns empty string!!!!! steroche ASP .Net Datagrid Control 2 08-25-2005 03:15 AM
FindControl Method always returns empty string!!!!! steroche ASP .Net Building Controls 2 08-25-2005 03:15 AM
[bug] String#split returns extra empty string Simon Strandgaard Ruby 8 06-01-2004 01:52 PM
java String split returns an additional first empty string Hanif Java 6 10-17-2003 06:21 AM