All day event

21 posts, 0 answers
  1. Bo
    Bo avatar
    2 posts
    Member since:
    Nov 2008

    Posted 10 Aug 2009 Link to this post

    Why is always an all day event shown in all day row in radscheduler Q2 2009.
    Is it possible to show it in hour row instead?

    Before Q2 2009 it was possible. 
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 11 Aug 2009 Link to this post

    Hello Bo,

    Thank you for writing in our forums. Let me explain how the layout logic for the appointments works:

    1. If you have an appointment having duration >= 24 hours, then the appointment will be shown in the all day header area. This is by design and this logic is not changed since the first release of RadScheduler.

    2. An appointment having duration < 24 hours is shown in the table area below the all day area.

    We consider adding a new feature which will allow the users to hide the all day area. Then every appointment will be shown in the table area and appointments having duration over 24 hours will be of no significance.

    This means that the answer of your question is no, all day events could only be shown in the all day area. 
    However we will do our best to implement this new feature for one of the future releases of RadScheduler. Unfortunately there is no possible workaround at the moment.

    Please write me back if you need more information.

    Best wishes,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bo
    Bo avatar
    2 posts
    Member since:
    Nov 2008

    Posted 11 Aug 2009 Link to this post

    Thanks for the answer.

    I run the demo of scheduler in 2009 Q2 Sp1 (Trial version)
    and all appointments >=23.5 hours is shown in the all day header area.
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 11 Aug 2009 Link to this post

    Hi Bo,

    I confirm this. This is a bug in the calculation of all day duration because we use Math.Round method and it will calculate 23.5 as 24. We will revise this behavior.

    P.S. I have updated your points because of this bug report.

    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Marc-Andre
    Marc-Andre avatar
    47 posts
    Member since:
    Jan 2009

    Posted 12 Aug 2009 Link to this post

    In the next release, would it be also possible to hide the hours and only keep the all day area?
  7. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 13 Aug 2009 Link to this post

    Hello Marc-Andre,

    We will consider this feature. 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. Please write us back if you have any other questions.

    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Marc-Andre
    Marc-Andre avatar
    47 posts
    Member since:
    Jan 2009

    Posted 15 Sep 2009 Link to this post

    Thanks, the logic is pretty simple. I wrote a software to manage shipping. Using the scheduler the way I described it, I could have a nice interface that mention all the shipping that are due for the day. In this case, I don't need to know the hours but only the work that has to be done during the day. It's easy to imagine all the other possibilities for such feature...

    Thanks!
  9. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 18 Sep 2009 Link to this post

    Hello Marc-Andre,

    You can do the following to exclude the time-part from the all day appointments:

    1. Subscribe to the AppointmentFormatting event.

        this.radScheduler.AppointmentFormatting += new EventHandler<SchedulerAppointmentEventArgs>(radScheduler_AppointmentFormatting);
           
    2. Check whether the current appointment's duration is over 1 day and modify AppointmentElement's formatting.

       void radScheduler_AppointmentFormatting(object sender, SchedulerAppointmentEventArgs e)
            {       
                if (Math.Round(e.Appointment.Duration.TotalDays) >= 1)
                {
                    e.AppointmentElement.TitleFormat = "{start:dd.MM} - {end:dd.MM} {summary} ({location})";
                }
            }

    This will exclude the time-part from the all-day Appointments.
     If you want to exclude the date part you can use the following formatting string:  "{summary} ({location})"

    I hope this helps.

    Please contact us again if you need more information.


    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  10. Marc-Andre
    Marc-Andre avatar
    47 posts
    Member since:
    Jan 2009

    Posted 18 Sep 2009 Link to this post

    I will give it a try thanks for the help.

    By the way, is there a way I can disable the double-click and right-click feature on the RadScheduler?

    Thanks again
  11. Robert
    Robert avatar
    82 posts
    Member since:
    Jun 2009

    Posted 22 Sep 2009 Link to this post

    Hey Marc-Andre,

    You can disable the context menu and edit appointment dialogs(double click) by setting them to null in their showing events.

            private void radScheduler1_ContextMenuShowing(object sender, Telerik.WinControls.UI.SchedulerContextMenuShowingEventArgs e) 
            { 
                e.ContextMenu = null
            } 
     
            private void radScheduler1_AppointmentEditDialogShowing(object sender, Telerik.WinControls.UI.AppointmentEditDialogShowingEventArgs e) 
            { 
                e.AppointmentEditDialog = null
            } 

    More info on disabling the context menu:

    More info on customizing the edit appointment dialog:

    - Robert
  12. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 24 Sep 2009 Link to this post

    Hi Marc-Andre,,

    Robert's solution demonstrates how to disable the context menu and the edit dialog.
    Currently there is no way to disable the actual right click and double click events.

    Please feel free to contact us if you need more information.

    All the best,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  13. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 21 Apr 2010 Link to this post

    Hi!

    I would like to show appointment >= 24 Hr in Hour Row instead of in the all day row in radscheduler.

    Is the new feature which will allow the users to hide the all day area is avalable in Q1 2010 Release?

    Thanks!
  14. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 23 Apr 2010 Link to this post

    No, Nadia, we did not manage to add this feature in the Q1 release of RadScheduler. We will do our best to implement it in the next release.

    Do not hesitate to write us, if you need further information.

    Kind regards,

    Boyko Markov
    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.
  15. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 23 Apr 2010 Link to this post

    I really need to show apointment in the table and not in the all day event.

    Is there any way I can show the appointment in the table even if it's more then 24 hours? Maybe to create 2 appointments ...

    Regards,
    Nadia
  16. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 29 Apr 2010 Link to this post

    Thank you for your request, Nadia. I will increase the priority of this feature. However, we are not be able to provide it out of the box in the current version of RadScheduler. We will consider its implementation for the next major release.

    Please do not hesitate, to contact us if you have any questions.
     

    Sincerely yours,
    Boyko Markov
    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.
  17. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 29 Apr 2010 Link to this post

    When do you think this feature will be available?

    Nadia

     
  18. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 05 May 2010 Link to this post

    Hi Nadia Sangiovanni,

    I am not able to give you a specific time-frame for this. We will do our best to implement it in one of the major releases.

    All the best,

    Boyko Markov
    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.
  19. jon borchart
    jon borchart avatar
    5 posts
    Member since:
    Mar 2010

    Posted 13 Sep 2010 Link to this post

    We also require >24hour display functionality.
    Do you have a guess as to when it will be available.

    Cheers,
    Jon
  20. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 16 Sep 2010 Link to this post

    Hi jon borchart,

    Thank you for writing.

    Generally, we have plans to implement the desired feature, but we currently we do not have any specific time frame set for the development process.

    If you have other questions, feel free to contact us.

    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
  21. Sean Overman
    Sean Overman avatar
    31 posts
    Member since:
    Sep 2012

    Posted 20 May 2011 Link to this post

    Is showing appointments in the table area when the allday row is hidden available yet?  Can I vote on this in PITS?
  22. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 25 May 2011 Link to this post

    Hi Sean,

    Displaying appointments in the table area when the allday row is hidden has already been implemented.
    To enable it, you need to hide the AllDayArea:
    radScheduler1.GetWeekView().ShowAllDayArea = false;

    I hope this helps. Feel free to contact us if you have any additional questions.

    Regards,
    Ivan Todorov
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Back to Top
UI for WinForms is Visual Studio 2017 Ready