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

[Solved] change header of Schaduler

3 Answers 224 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Farshad heidary
Top achievements
Rank 1
Farshad heidary asked on 10 Feb 2010, 07:56 AM
hi guys.
how can i change Today/Day/Week/Month and Time Line Text?
whit how property i can?

3 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 10 Feb 2010, 09:57 AM
Hello Farshad,

The Localization property allows you to change the strings that appear in the runtime user interface of the scheduler. By changing the values of each named sub-property, you can change the appearance of the string the scheduler uses.

aspx:
 
<telerik:RadScheduler ID="RadScheduler1" Skin="Outlook" runat="server" DataEndField="End" 
    DataKeyField="ID" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" 
    DataSourceID="SqlDataSource1" DataStartField="Start" DataSubjectField="Subject"
 
    <Localization HeaderToday="TodayText" HeaderMonth="MonthText" HeaderTimeline="TimeLineText" 
        HeaderDay="DayText" HeaderWeek="WeekText"/> 
 
</telerik:RadScheduler> 

-Shinu.
0
Farshad heidary
Top achievements
Rank 1
answered on 10 Feb 2010, 11:53 AM
tnx 4 reply.
it's perfect.
but how can i change their font-family and size?
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Feb 2010, 12:58 PM
Hi,

Try adding following CSS for changing the font family and font size as per your requirement.

CSS:
 
    <style type="text/css"
        .rsHeaderDay 
        { 
            font-sizemedium !important; 
            font-familyArial !important; 
        } 
        .rsHeaderMonth 
        { 
            font-sizemedium !important; 
            font-familyArial !important; 
        } 
        .rsHeaderTimeline 
        { 
            font-sizemedium !important; 
            font-familyArial !important; 
        } 
        .rsHeaderWeek 
        { 
            font-sizemedium !important; 
            font-familyArial !important; 
        } 
        .rsToday 
        { 
            font-sizemedium !important; 
            font-familyArial !important; 
        } 
    </style> 

Thanks,
Princy.
Tags
Scheduler
Asked by
Farshad heidary
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Farshad heidary
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or