[File Upload] How to eliminate the "Cancel Upload(s)" button

Forge Component
(24)
Published on 24 Jan by Renato Pauleta
24 votes
Published on 24 Jan by Renato Pauleta

The "Cancel Upload(s)" button is shown as default when using the fileUpload. Please advise how to get rid of it?

Hello Jessica,

Have you tried setting the "CancelLinkOrButtonId" to False?

Hope this helps.

Hi Pedro,

It doesn't work and seems its CSS be overwritten by Theme.BaseTheme.css

Any suggestion?

Jessica Lee wrote:

Hi Pedro,

It doesn't work and seems its CSS be overwritten by Theme.BaseTheme.css

Any suggestion?


Hi Jessica,

Can you send me the oml?

The OML is enclosed. 

Thank for your help.

Hi,

CancelLinkOrButtonId does not expect a boolean value. It is a text type.

Probably that property exists to use a custom Cancel (link or button ID).

A trick could be creating a named Button with Visible set to False and use its ID in CancelLinkOrButtonId.

Regards!!!

Processing Upload...

Hi, Wilbert,

Sorry, your suggestion doesn't be workable.

Jessica Lee wrote:

The OML is enclosed. 

Thank for your help.

Hi Jessica,

When I tried to upload a file in your app the cancel button doesn't appear..

Anyway, have you tried this css at the screen level?


Pick the class or Id of outer div of cancel button and on document.ready(jquery) apply css to hide this.

Jessica Lee wrote:

Hi, Wilbert,

Sorry, your suggestion doesn't be workable.

Hi, It works for me. See my implementation: