Background Image on Ajax spreadsheet

1 Answer 55 Views
Ajax Spreadsheet
Michela
Top achievements
Rank 1
Michela asked on 11 Feb 2022, 10:39 PM

Hi,

RadSpreadsheet for ASP.NET AJAX
My goal is to type values in the cells (numbers, letters, etc) having a simple background image as background: this can be useful

if the image is a technical drawing and the cells could represent measurements....

more or less:

function OnClientLoad( editor, args) 
    var style = sheet.get_contentArea().style; 
    style.backgroundImage "url(myImage.jpeg)"
</script> 

it's possible in some way?

Thanks for the support.

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 16 Feb 2022, 04:27 PM

Hello Michela,

Currently, you can set a background image to the RadSpreadSheet cells pane element through a similar CSS style:

        <style>
            .RadSpreadsheet .rssPane {
                background-image: url("./myImage.jpeg")
            }
        </style>

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Ajax Spreadsheet
Asked by
Michela
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or