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

Change fonts style at runtime in html textbox

1 Answer 192 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benoit Massy
Top achievements
Rank 1
Benoit Massy asked on 06 Jun 2010, 08:11 PM
With the version 2010.1.317, I was able to change font style like this :
    

txtTitle.Style.Color = System.Drawing.Color.FromArgb(154, 51, 102)

txtTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18)

txtTitle.Style.Font.Bold = True

 


Now, with the version 2010.1.423, all my style still like in the design mode and nothing change... What append?

thanks

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Jun 2010, 05:40 PM
Hi Benoit Massy,

I've just tested this on my end and did not have any problems with your code. I've attached a sample report with HtmlTextBox and aspx page where I change its styles and it works as expected. We would appreciate if you modify the sample to reflect the problem you've encountered.

Regards,
Steve
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Benoit Massy
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or