GetControlValidationValue returns empty string

Discussion in 'ASP .Net' started by kurt sune, Sep 1, 2006.

  1. kurt sune

    kurt sune Guest

    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
     
    kurt sune, Sep 1, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hanif
    Replies:
    6
    Views:
    17,896
    Paul Lutus
    Oct 17, 2003
  2. Christoph Söllner

    HTTPResponse.read() returns an empty string?

    Christoph Söllner, Oct 18, 2005, in forum: Python
    Replies:
    2
    Views:
    1,269
    Marc 'BlackJack' Rintsch
    Oct 18, 2005
  3. steroche

    FindControl Method always returns empty string!!!!!

    steroche, Aug 25, 2005, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    152
    steroche
    Aug 25, 2005
  4. steroche

    FindControl Method always returns empty string!!!!!

    steroche, Aug 25, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    146
    steroche
    Aug 25, 2005
  5. Simon Strandgaard

    [bug] String#split returns extra empty string

    Simon Strandgaard, May 31, 2004, in forum: Ruby
    Replies:
    8
    Views:
    351
    David A. Black
    Jun 1, 2004
Loading...

Share This Page