This is a migrated thread and some comments may be shown as answers.

Hide upload-action-buttons

4 Answers 279 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ziental
Top achievements
Rank 1
ziental asked on 02 May 2018, 12:14 PM

We are using the version for Angular.
And in the kendo-upload component I would like to hide the "Cancel" and "Upload" buttons, I will do this with another button through the "uploadFiles" method.

I am using other components like this on other parts of the screen, but would like to hide only on a particular component.

Thank you.

4 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 02 May 2018, 12:53 PM
Hello Zdzislaw,


You could hide the action buttons via CSS using the k-action-buttons class.
E.g.
encapsulation: ViewEncapsulation.None,
styles: [`
  .k-widget.k-upload .k-action-buttons {
    display: none;
  }
`],


Regards,
Dimiter Madjarov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
ziental
Top achievements
Rank 1
answered on 02 May 2018, 03:56 PM
Thanks for the tip.
But I need this only one of the components, and in this way it affects all the other components.
Do you have any solution to resting to only one component?
0
ziental
Top achievements
Rank 1
answered on 02 May 2018, 04:21 PM
Sorry, I was able to solve this problem in a way similar to what you said.
Thank you.
0
Dimiter Madjarov
Telerik team
answered on 03 May 2018, 06:26 AM
Hi Zdzislaw,


Thanks for the update. I am glad the issue is resolved.

Regards,
Dimiter Madjarov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
ziental
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
ziental
Top achievements
Rank 1
Share this question
or