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

Style.font.size binding

1 Answer 348 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 15 Oct 2012, 03:50 PM
Hello All,

I am setting my textbox binding as
Me.txtDisplayName.Bindings.Add(New Telerik.Reporting.Binding("Style.Font.Size", "=IIF(Fields.sequenceID=1950, 10,8)")

But it wont work and says "txtDisplayName" set not property for fontszie.

How to achieve this function?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Oct 2012, 08:02 AM
Hi Derek,

The Size Property expects Unit, so you should create an User Function that returns Unit and then use the function as expression for the binding.

Regards,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Derek
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or