GroupHeader is now showing the time

5 posts, 0 answers
  1. Augustine
    Augustine avatar
    3 posts
    Member since:
    May 2011

    Posted 10 Aug 2011 Link to this post

    Ever since upgrading to Q2, I've been getting the time showing in the group header. Please see the attached image. Setting the groupheaderdatestringformat property on MonthViewDefinition doesn't do anything anymore. How can I remove the time? Or even remove the group header altogether? 
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 11 Aug 2011 Link to this post

    Hi Augustine,

    By default the group header should show the range of the dates in the current week as you can see in our demos. In order to show the time I believe you are using some kind of custom template. You can easily remove the time by setting this GroupHeaderDateStringFormat property for MonthViewDefinition in this format:
    GroupHeaderDateStringFormat="{}{0:MMM.dd}

    Regards,
    Boyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. Augustine
    Augustine avatar
    3 posts
    Member since:
    May 2011

    Posted 16 Aug 2011 Link to this post

    I have set that property but it still continues to look like the originally attached picture. In fact, it seems like I can't get it to change no matter what I put in that property. 
  4. Peter
    Peter avatar
    3 posts
    Member since:
    Aug 2011

    Posted 18 Aug 2011 Link to this post

    I have got the same problem. I want to hide the GroupHeader but its constantly visible. I am using a TimelineViewDefinition.
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 22 Aug 2011 Link to this post

    Hi Guys,

    I am not able to reproduce the bad behavior. Maybe you are doing something specific which I am not or you have used a custom template which have broken when you upgraded the binaries. Could you please send me a sample project or code snippet which will greatly help us reproduce the issue and provide a fix.

    All the best,
    Boyan
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top