ASPxClientUploadControl.SetAddButtonText(text) Method
In This Article
Sets the text to be displayed within the add button.
#Declaration
TypeScript
SetAddButtonText(
text: string
): void
#Parameters
Name | Type | Description |
---|---|---|
text | string | A string value specifying the text to be displayed within the button. |
#Remarks
<dx:ASPxUploadControl ID="ASPxUploadControl1" runat="server" FileInputCount="5" ShowAddRemoveButtons="True">
<ClientSideEvents FileInputCountChanged="function(s, e) {
var fcount = s.GetFileInputCount();
if(fcount >= 10)
s.SetAddButtonText('');
else
s.SetAddButtonText('Add');
}" />
</dx:ASPxUploadControl>
See Also