validate RadAsyncUpload Control

Thread is closed for posting
6 posts, 0 answers
  1. kedar
    kedar avatar
    10 posts
    Member since:
    Apr 2015

    Posted 19 May 2015 Link to this post

    hi..

    how i can validate other fields before showing file selection dialog of  RadAsyncUpload. 

  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 19 May 2015 Link to this post

    Hello Kedar,

    You could validate the input fields on blur. In case that you want to create a custom server validation, please review the following demo.

    Regards,
    Peter Filipov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kedar
    kedar avatar
    10 posts
    Member since:
    Apr 2015

    Posted 19 May 2015 in reply to Peter Filipov Link to this post

    i have a tree view.

    i want to add uploaded files as a child node of selected tree node

    now want to validate that node is selected or not

    on which event should i check selected node?

  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 20 May 2015 Link to this post

    Hello Kedar,

    Handle the following event and check if there is a selected node from the TreeView. Another resolution is to disable the upload control and enable it if a node is selected.

    Regards,
    Peter Filipov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. kedar
    kedar avatar
    10 posts
    Member since:
    Apr 2015

    Posted 20 May 2015 in reply to Peter Filipov Link to this post

    we can not do on select button click of Upload control?

    can i use below event to call a function

    $telerik.$(".ruFileInput").click();

    How?

  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 24 May 2015 Link to this post

    Hello,

    You could pass a reference to a function and check in it if there is a selected node.  

    Regards,
    Peter Filipov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017