Binding values to TitleStyle of Table of Contents in Report gives 'null' error

0 Answers 29 Views
Binding Report Book Styling TOC
Dali
Top achievements
Rank 1
Dali asked on 07 Jul 2022, 11:05 AM

Hi,

We are trying to bind a parameter value to TitleStyle.Color property of Table of Contents and we are getting an error :

"An error has occured while processing TocSection 'tocsection1' : Bindings error - The value of property 'TitleStyle' is null."

We have tried  TitleStyle.FontBold with the value 'True'. The same errors pops up for all TitleStyle property assignment. 

The parameters has values in it and it works when assigned to Style.Color or  Style.BackgroundColor.

Can you please help us to resolve this issue?

Dimitar
Telerik team
commented on 11 Jul 2022, 11:59 AM

This has been recognized as a bug and is now logged on our public portal - Bindings error - The value of property 'TitleStyle' is null.

For those that wish to dynamically change the TitleStyle property, at the current time, this can be done by editing the report in code after unpackaging it.

If the report is displayed in a report viewer, a custom IReportSourceResolver can be implemented to do this - How to use Custom Report Source Resolver and Custom Report Document Resolver

No answers yet. Maybe you can help?

Tags
Binding Report Book Styling TOC
Asked by
Dali
Top achievements
Rank 1
Share this question
or