There are two simple steps to create a custom upload button:

  1. Create a server control which will be used as custom upload button.
  2. Use the InsertButtonID property to specify the ID of the control that will be used as the upload button.

Example 1:


// Create a Button control used as upload button

 <CuteWebUI:Uploader ID="Uploader1" runat="server" InsertButtonID="Button1"></CuteWebUI:Uploader>

 <asp:Button ID="Button1" runat="server"  Text="CustomButton"/>



Example 2:


// Create an Image control used as upload button

 <CuteWebUI:Uploader ID="Uploader1" runat="server" InsertButtonID="Image1"></CuteWebUI:Uploader>

 <asp:Image ImageUrl="~/Uploads/myImg.gif" runat="server" ID="Image1" />


Send feedback about this topic to CuteSoft. © 2003 - 2017 CuteSoft Components Inc. All rights reserved.