inconsistency in documentation

Thread is closed for posting
2 posts, 1 answers
  1. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 09 Nov 2010 Link to this post

    Hello to telerik.

    I found this different information about client side validation extension on RadUpload.

    this is saying arguments.IsValid = <%= RadUpload1.ClientID %>.ValidateExtensions(); missing $find() function

    and this is saying arguments.IsValid = $find('<%= RadUpload1.ClientID %>').validateExtensions();

    so I thing there should be find function.

    But whats worries me is when I do this: var fileInputs = $find(fileuploadId).GetFileInputs(); I get Error: $find(fileuploadId).GetFileInputs is not a function. And variable fileuploadId is correct because validateExtensions on that object works fine...

    I want to check if there is at least one file selected (on client). Do you know about better approach? Thanks.


  2. Answer
    Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 09 Nov 2010 Link to this post

    Hello Jan,

    It's getFileInputs(), not GetFileInputs(). Javascript is case sensitive.

    I hope that helps.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top