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

RadAsyncupload

1 Answer 143 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
prabha
Top achievements
Rank 1
prabha asked on 14 Jan 2011, 11:11 AM
Hi,

  I am using RadAsync upload in my application .
As per the demo,
http://demos.telerik.com/aspnet-ajax/upload/examples/async/ajaxprocessing/defaultcs.aspx?product=asyncupload
I followed the same code .
1. I want to hide the cancel and remove button the RadAsync upload.
2. Because ,While loading the image/file,click the cancel and remove button ,then the select button is disappears.

Please give any suggestion

Thanks
Prabha

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 19 Jan 2011, 10:51 AM
Hello Prabha,

Thank you for contacting us.

On the demo that you are looking at,  cancel button is  not shown since an ajax post-back occurs when OnClientFileUploaded is fired. The remove and cancel buttons are shown only before the post-back on which uploaded file is tranferred from the temporary directory to the real destination directory where it should be uploaded. If you make this post-back not right away when the file is uploaded in the temp directory , but based on some other user action which make post-back the only possible solution is to hide this buttons with the following styles:

<style type="text/css">
    .ruButton .ruRemove, .RadUpload .ruRemove,
    ruButton .ruCancel, .RadUpload .ruCancel
    {
        display:none !important;
    }
</style>


Best wishes,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Upload (Obsolete)
Asked by
prabha
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or