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

radasyncupload window

1 Answer 36 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
ithihas
Top achievements
Rank 1
ithihas asked on 28 Jun 2012, 11:00 AM
Want to open radasyncupload window on radiobutton click? Is it possible.....?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Jun 2012, 11:18 AM
Hi Ithihas,

Try the following code snippet to achieve your scenario.

ASPX:
<telerik:RadButton runat="server" Text="SELECT" ID="button1" OnClientClicking="OnClientClicking">
</telerik:RadButton>
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" Localization-Select="" MaxFileInputsCount="1" >
</telerik:RadAsyncUpload>

JS:
<script type="text/javascript">
    function OnClientClicking(sender) {
        sender.set_autoPostBack(false);
        $telerik.$(".ruFileInput").click();
    }
</script>

Hope this helps.

Thanks,
Princy.
Tags
AsyncUpload
Asked by
ithihas
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or