This is a migrated thread and some comments may be shown as answers.
File upload only when you press exact button
1 Answer 47 Views
This is a migrated thread and some comments may be shown as answers.
Bram
Top achievements
Rank 1
Bram asked on 26 Aug 2008, 08:32 AM

Hi,

We are using RadUpload component with standard html input control. We have several controls that cause postback to the server on a form. And it is needed to upload file only when you press exact button, like upload button. But now it will try to upload file on every postback. How it can be fixed?

Example of usage:
<input type="file" runat="server">
<telerik:RadProgressManager ID="progressManager" runat="server" />
<telerik:RadProgressArea ID="progressArea" runat="server">
</telerik:RadProgressArea>

 Regards,

Jochem  Nuij

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 28 Aug 2008, 03:00 PM
Hello Jochem Nuij,

This can be easily achieved using RadUpload instead of <input type="file">
Please check the implementation in this help article:
Preventing Uploads

If you want RadUpload to look like the standard input type="file" you can set its EnableFileInputSkinning to false and ControlObjectsVisibility to None.

Regards,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Asked by
Bram
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or