search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

EventFontSize does update font size if set from code-behind

Asked by Vishal
9 years ago.


I am using DayPilot version 6.4.2265.1 and I am coming up with event font size issue while setting it from code-behind. But when I set it from designer (.aspx) EventFontSize="14pt" it works. I want this to be set as per user preference from database. My code look:

DPSchAppt.EventFontSize = String.IsNullOrEmpty(ApptFontSize) ? "8pt" : ApptFontSize;

Can anyone help me with working solution for this.

Thanks in Advance.

Comment posted by Dan Letecky [DayPilot]
9 years ago.

What is the actual location of this code in code behind - is it in Page_Load method?

Comment posted by Anonymous
9 years ago.

no. it is not in Page_Load method.
Actually, it is written is common function where all other calendar settings are set. CellDuration, CellHeight, Column header text, etc are set properly from this function.

Comment posted by Dan Letecky [DayPilot]
9 years ago.

Does the error persist with the latest release?

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.