ShowAllDayArea not working

5 posts, 0 answers
  1. Anna Lear
    Anna Lear avatar
    3 posts
    Member since:
    Feb 2010

    Posted 26 Feb 2010 Link to this post

    Hi,

    I'm using Q3 of 2009 libraries and I'm trying to hide the AllDay area to force all appointments to show up on the hour rows. I'm doing the following in the form constructor:

    SchedulerDayView dayView = radScheduler1.GetDayView(); 
    dayView.ShowRuler = false
    dayView.ShowAllDayArea = false
    dayView.DayCount = 1; 
    dayView.AppointmentTitleFormat = "{2}"
    dayView.WorkTime = new TimeInterval(TimeSpan.Zero, TimeSpan.Zero); 

    All properties work fine, except for the ShowAllDayArea. The area still shows up in the dayview. Is there another property I'm missing? Thanks.

    P.S. Also, is it normal for the style settings on views to reset every time the view is changed? Say I set up my day view as above and then switch to Week View. When I come back to DayView, all my settings have to be done again.
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 26 Feb 2010 Link to this post

    Hi Anna Lear,

    Thank you that contact us. ShowAllDayArea property shows/hides only the region below the header and it is working on our side. I hope that I understand correctly your question, if not please correct me. The scheduler is implemented in that way (to recreate the view at the beginning), because the week view and the day view do not have the same functionality.

    Feel free to contact us if you have additional questions.

    Kind regards,
    Dobry Zranchev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. Anna Lear
    Anna Lear avatar
    3 posts
    Member since:
    Feb 2010

    Posted 26 Feb 2010 Link to this post

    Hi Dobry,

    Thanks for the explanation. I figured out my problem with the ShowAllDayArea property. I had to set it in the ActiveViewChanged event handler instead of ActiveViewChanging.

    Unfortunately, once I got that working, I realized that it wasn't doing what I expected it to. I saw the following in this post:
    However our plans are to implement another feature -- the user can hide the all day area and then all appointments which are in the all day area are shown in the table area.

    That's exactly what I want to do, but it looks like that's not implemented. Can you confirm or deny, please?

    Thanks.
  4. Anna Lear
    Anna Lear avatar
    3 posts
    Member since:
    Feb 2010

    Posted 01 Mar 2010 Link to this post

    Fair enough. Thanks!
  5. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    353 posts

    Posted 03 Mar 2010 Link to this post

    Hi Anna Lear,

    We are working on this feature, but it will not be done for the upcoming release. We hope that the next version will contain this functionality. Please excuse us for the introduced inconvenience.

    All the best,
    Dobry Zranchev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top