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

RadTreeList Javascript Print

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karthik Kantharaj
Top achievements
Rank 1
Karthik Kantharaj asked on 28 May 2014, 11:57 AM
Hi

I attached image , in web page i am getting background colour for all cells, but when i print whole page via File->Print , it is not picking background color , if i enable Background Colours and Image in Browser Page setting, then it is picking cell color

I set color like below
 TreeListDataItem item = (TreeListDataItem)e.Item;
item[month.ToString()].BackColor = System.Drawing.Color.Red;
 item[month.ToString()].ForeColor = System.Drawing.Color.Red;

Please guide me,
Karthik.K

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 02 Jun 2014, 09:48 AM
Hello Karthik,

Since the behavior that you are describing is due to a browsers setting, there is no cross-browser workaround that could be applied, which will allow you to print the colors and override the browser setting.

You could take a look at the following forum thread, where more details on this matter could be found:
Hope that helps.


Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Karthik Kantharaj
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or