client manage RadAsyncUpload

2 posts, 0 answers
  1. Sofiene
    Sofiene avatar
    21 posts
    Member since:
    Feb 2012

    Posted 30 Aug 2012 Link to this post

    Hi , 
    how can i  enable / disable  RadAsyncUpload control  in client side ? 

    with my way that disable / enable control but when enabled you can not select file to upload , the button not work . 

    <telerik:RadAsyncUpload            Width="220px"
        <script type="text/javascript">
                   function GetValue(sender, eventArgs) {
    var AUJustificatifEnfant = document.getElementById('AUJustificatifEnfant');
     AUJustificatifEnfant.disabled = ! (chkAutreMotivation.checked || chkEnfantBasAge.checked);

  2. Helen
    Helen avatar
    1052 posts

    Posted 04 Sep 2012 Link to this post


    To enable/disable RadAsyncUpload client-side please use the "set_enabled" method:

    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
    <script type="text/javascript">
        function test() {
            var upload1 = $find("<%=RadAsyncUpload1.ClientID %>");

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top