ASPxClientUploadControl Class

A client-side equivalent of the ASPxUploadControl control.

Declaration

declare class ASPxClientUploadControl extends ASPxClientControl

Remarks

The ASPxClientUploadControl object serves as a client-side equivalent of the ASPxUploadControl control.

UploadControl_class.png

Use the ClientInstanceName property to programmatically access the client object rendered for the ASPxUploadControl control in client-side script.

Example

<script>
     function click(s, e) {
          // Call the ASPxClientUploadControl's ClearText method
          upload.ClearText();
     }
</script>
...
<dx:ASPxUploadControl ID="ASPxUploadControl1" ClientInstanceName="upload" runat="server" UploadMode="Auto" Width="280px">
</dx:ASPxUploadControl>

<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Clear" AutoPostBack="false">
     <ClientSideEvents Click="click" />
</dx:ASPxButton>
See Also