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

Font-Size for RADDatePicker

7 Answers 266 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 12 May 2008, 06:59 AM
hi

I tried to change the font-Size to Large but it seems that the font size didn't change. I am using defautl skin. Thanks

7 Answers, 1 is accepted

Sort by
0
L
Top achievements
Rank 1
answered on 12 May 2008, 08:24 AM
ok, Solved. Thanks
0
Bimar
Top achievements
Rank 1
answered on 14 Aug 2008, 07:28 AM
I have the same problem could you explain the solution.

Thanks...
0
Shinu
Top achievements
Rank 2
answered on 14 Aug 2008, 11:23 AM
Hi Yesim,

Have you tried with the following code snippet to set the font -size?

CS:
 RadDatePicker1.Calendar.Font.Size = System.Web.UI.WebControls.FontUnit.Large; 
        RadDatePicker1.Calendar.Font.Bold = true


Thanks
Shinu.
0
Seth
Top achievements
Rank 1
answered on 02 Apr 2009, 06:47 PM
I have tried these methods and it still does not change for me.

Here is my situation:

I have created a custom skin, inherited from the Office2007 skin.  I have changed nothing other than the names of the CSS files and the names of the styles inside of the CSS files.  I have gotten other skins to respond to the changes, but so far, not the DatePicker.

I have the following delcaration in my skin file.  The DateInput-Font-Size works, the Calendar-Font-Size does not:

<telerik:RadDatePicker runat="server" Font-Size="8" Calendar-Font-Size="8" DateInput-Font-Size="8" /> 
 

I have also tried putting the Font-Size directly on the control and it does not respond either.  I also tried setting the font size at PreInit on my page events and that too had no affect.

Any help is appreciated.
0
Dimo
Telerik team
answered on 03 Apr 2009, 04:46 AM
Hello Seth,

The RadCalendar skin normally sets several font-sizes for the different control's elements (titlebar, date matrix, etc). You cannot override all these with a single declared property, because it applies to the control's wrapper, while the font-sizes in the skin apply to inner elements and take precedence.

You can edit the Calendar's skin directly or use more specific declarative style properties, like the ones used in this online demo:

http://demos.telerik.com/aspnet-ajax/calendar/examples/design/styles/defaultcs.aspx

Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Seth
Top achievements
Rank 1
answered on 07 Apr 2009, 03:57 PM
Thank you for the information.  Does this apply to the RadGrid as well?  I have made the following change to the Skin and it has no effect.

Thanks.

<telerik:RadGrid runat="server"  
    ItemStyle-Font-Size="8"  
    AlternatingItemStyle-Font-Size="8"  
    SelectedItemStyle-Font-Size="8" 
    ActiveItemStyle-Font-Size="8" /> 

0
Dimo
Telerik team
answered on 08 Apr 2009, 10:53 AM
Hello Seth,

Your RadGrid code snippet works as expected on my side. Please provide a complete example, which exhibits the problem.

Regards,
Dimo
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
L
Top achievements
Rank 1
Answers by
L
Top achievements
Rank 1
Bimar
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Seth
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or