Date format in header

7 posts, 0 answers
  1. Paolo
    Paolo avatar
    6 posts
    Member since:
    Aug 2013

    Posted 05 Aug 2013 Link to this post

    Hi,
    I'm trying to use for the first time Rad Scheduler and " can't understand  how modify the hedear bar.  In first header bar I'd like to have just the name of the month in the second row the number of the day (to_be.png). At the moment the date format in two bars is the same (as_is.png).

    I mean that I should change something in this instaction, but I didn't find the right way
     <TimelineView UserSelectable="true" GroupBy="" GroupingDirection="Vertical" HeaderDateFormat="dd">

    Any idea ?

    Thanks in advance.

    Paolo
  2. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 08 Aug 2013 Link to this post

    Hi,

     
    You can achieve it by using the "HeaderDateFormat="MMMM"" property of RadScheduler that will show the start and the end of the visible area as for example it is done in this on-line demo..

    Regards,
    Plamen
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paolo
    Paolo avatar
    6 posts
    Member since:
    Aug 2013

    Posted 30 Aug 2013 Link to this post

    Hi,
    thanks for your replay but unfortunately I think that I can't use that property because my version (Runtime Version: v2.0.50727; Version: 2008.2.723.35) doesn't support HeaderDateFormat and I can't update version for compatibility reasons. In this version, with HeaderDateFormat  both first and second row of the header change their format.
    I don't know if JQuery could be a solution ... at the moment it doesn't work.
    Any ideas?

    Thanks

  5. Paolo
    Paolo avatar
    6 posts
    Member since:
    Aug 2013

    Posted 02 Sep 2013 Link to this post

    To understand what properties do, I tryed to set the format ',MMMM, yyyy', but the output is like "As_is" picture.



    <telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="TimelineView"
                Width="100%" RowHeaderWidth="52" DayEndTime="19:00:00" HeaderDateFormat="MMMM, yyyy"
                DataKeyField="NA_Days_ID" DataSubjectField="Status_Day"
                DataStartField="Date" DataEndField="Date" OverflowBehavior="Expand"
                OnNavigationComplete="RadScheduler1_NavigationComplete"
                StartEditingInAdvancedForm = "false"
                OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"  OnFormCreated="RadScheduler1_FormCreated"
                OnAppointmentCommand = "RadScheduler1_AppointmentCommand"
     MonthColumnHeaderDateFormat="MMMM, yyyy"
    LastDayOfWeek="Sunday"
     WeekColumnHeaderDateFormat="MMMM, yyyy"
     WeekView-ColumnHeaderDateFormat="MMMM, yyyy"
    WeekHeaderDateFormat="MMMM, yyyy" MonthHeaderDateFormat="MMMM"
    MonthView-ColumnHeaderDateFormat="MMMM, yyyy" MonthView-HeaderDateFormat="MMMM, yyyy"
    TimelineView-HeaderDateFormat="MMMM, yyyy" WeekView-HeaderDateFormat="MMMM, yyyy">
    Any ideas?
    Thanks,

    p
  6. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 03 Sep 2013 Link to this post

    Hi,

     
    It looks like that header formatting is not yet supported in the version of RadScheduler that you use so in order to have it working I will kindly recommend you to upgrade with a later version of RadControls.

    Regards,
    Plamen
    Telerik
    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 the blog feed now.
  7. Mo
    Mo avatar
    1 posts
    Member since:
    Apr 2015

    Posted 15 May 2015 Link to this post

    How do i change Calendar Event header to Spell out the full name of the month. Like June and not Jun.

    Thank you 

     

  8. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 18 May 2015 Link to this post

    Hi,

    You can set the  HeaderDateFormat property of the selected view to "MMMM". Hope this will help you solve the issue.

    Regards,
    Plamen
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017