This is a migrated thread and some comments may be shown as answers.

validate RadAsyncUpload Control

5 Answers 89 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
KeDaR
Top achievements
Rank 1
KeDaR asked on 19 May 2015, 07:10 AM

hi..

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

5 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 19 May 2015, 08:53 AM
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
0
KeDaR
Top achievements
Rank 1
answered on 19 May 2015, 10:01 AM

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?

0
Peter Filipov
Telerik team
answered on 20 May 2015, 07:33 AM
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
0
KeDaR
Top achievements
Rank 1
answered on 20 May 2015, 09:23 AM

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

can i use below event to call a function

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

How?

0
Peter Filipov
Telerik team
answered on 24 May 2015, 02:20 PM
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
Tags
Upload (Obsolete)
Asked by
KeDaR
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
KeDaR
Top achievements
Rank 1
Share this question
or