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

remove today link in monthview

5 Answers 39 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 15 Nov 2011, 07:59 PM
How do I remove the "today" link in monthview?

Also if anyone knows how to make month display full month (November instead of Nov) that would be cool too.

Thanks,
Dan

5 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 15 Nov 2011, 08:21 PM
Hi Dan,
            To make the Month Display full month change the MonthView-HeaderDateFormat property to MMMM, yyyy
0
Dan
Top achievements
Rank 1
answered on 15 Nov 2011, 08:55 PM
Paul, thanks for that! Now if removing the today link is as straightforward I will be laughing.
0
Peter
Telerik team
answered on 17 Nov 2011, 11:47 AM
Hi Dan,

Here is one possible solution:
protected void Page_Load(object sender, EventArgs e)
   {
       if (RadScheduler1.SelectedView == SchedulerViewType.MonthView)
           RadScheduler1.Localization.HeaderToday = String.Empty;
       else
           RadScheduler1.Localization.HeaderToday = "today";
   }
 
   protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e)
   {
       if (e.Command == SchedulerNavigationCommand.SwitchToMonthView)
           RadScheduler1.Localization.HeaderToday = String.Empty;
       else
           RadScheduler1.Localization.HeaderToday = "today";
 
   }


Regards,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Dan
Top achievements
Rank 1
answered on 17 Nov 2011, 02:57 PM
That works perfect Peter, thanks. Where could I reference this in API documentation?
0
Peter
Telerik team
answered on 18 Nov 2011, 01:15 PM
Hello Dan,

Here is the help topic on Translating strings - http://www.telerik.com/help/aspnet-ajax/scheduler-localization-translating-strings.html


Best wishes, Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Scheduler
Asked by
Dan
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Dan
Top achievements
Rank 1
Peter
Telerik team
Share this question
or