I'd like to add an image to the RadCloudUpload button so it matches other buttons - how can I do that? In the attached image the top button is a normal RadButton with image - below that is the RadCloudUpload to which I'd like to add an image or icon.
Thanks.
2 Answers, 1 is accepted
0
Magdalena
Telerik team
answered on 19 Apr 2017, 08:02 AM
Hello Greg,
We are afraid that the cloud upload has not implement such functionality. You can achieve the described behavior by an additional custom CSS as the following:
span.rcuFileWrap.rcuButton:before {
display: inline-block;
width: 16px;
height: 16px;
margin-left: -12px;
margin-right: 4px;
content: "\e801";
font: 16px/1 "WebComponentsIcons";
}
Here you can find the full list of our font-icons. Inspecting an icon in a browser developer tool you can find its code for the content CSS property. We are sending you this screen shot for your reference. You can use for the purpose also your custom font, or a sprite image.
Do not hesitate to contact us if you have other questions.