94
Views
9
Comments
[File Upload] How to eliminate the "Cancel Upload(s)" button
Question
file-upload
Web icon
Forge asset by Alfaro

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

2024-11-20 08-28-20
Pedro Marques

Hello Jessica,

Have you tried setting the "CancelLinkOrButtonId" to False?

Hope this helps.

UserImage.jpg
Jessica Lee

Hi Pedro,

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

Any suggestion?

2024-11-20 08-28-20
Pedro Marques

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?

UserImage.jpg
Jessica Lee

The OML is enclosed. 

Thank for your help.

fileupload.oml
2024-11-20 08-28-20
Pedro Marques

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?


UserImage.jpg
Wilbert Carpi

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!!!

UserImage.jpg
Jessica Lee

Hi, Wilbert,

Sorry, your suggestion doesn't be workable.

fileuploadv1.oml
UserImage.jpg
Wilbert Carpi

Jessica Lee wrote:

Hi, Wilbert,

Sorry, your suggestion doesn't be workable.

Hi, It works for me. See my implementation:


2021-09-10 14-03-53
Salman Ansari

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.