Month view items w/o timeslots?

6 posts, 0 answers
  1. Jeff
    Jeff avatar
    3 posts
    Member since:
    Jun 2011

    Posted 15 Nov 2011 Link to this post

    Hi,
    Can someone tell me if the following is possible?

    1.  Restrict the ScheduleView to show only a Month view.
    2.  Drag items to a particular day without having to set Start time.
    3.  Have additional items stack up vertically, no side-by-side layout. (stack panel)
    4.  The order of the items should be in the order that they were added to the day.

    Thanks in advance!
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Nov 2011 Link to this post

    Hello Jeff,

    Straight to your questions:

    1. You can restrict the ScheduleView to show only MonthView by adding only the MonthViewDefinition to the ViewDefinition's collection. More information about the views you can find here.
    Could you please elaborate more on point 2 and 3 - what do you mean by additional items, where are they stored, from where is the item dragged.
    4. The order of the appointments is by date and duration - the earlier the appointment starts and the longer it lasts the higher is in the TimeSlot.

    Hope this helps.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Jeff
    Jeff avatar
    3 posts
    Member since:
    Jun 2011

    Posted 18 Nov 2011 Link to this post

    Konstantina,
    Thanks for taking the time to help me with these questions!

    The scenario that I am trying to implement is the following:

    I am creating a tracking app that keeps track what “Activities” are performed on any given day.  An Activity has a date that it was performed and a duration measured in hours.  Activities can be performed anytime during the day and we do not care when they are performed.

    Activities are grouped into categories.  I would like to use a collapsible list like a TreeView or an Accordion (Silverlight toolkit) to display the Activities in their respective categories.

    I envision a classic two panel layout with the Activities list on the left and the RadScheduleView on the right.  The user would then drag activates from the list and drop them on the month view.  I do not want the user to have to pick a time that they performed the Activity when they drop the Activity on the RadScheduleView.  Whenever the users adds Activities, they should neatly stack up vertically inside day they dropped the Activity on.

     I hope this help clarify what I am trying to do.

    Thanks in advance,
    Jeff.

  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Nov 2011 Link to this post

    Hi Jeff,

    Thank you for the clarification.

    Please refer to this online demo in which you could find an example project illustrating how to implement drag and drop between ListBox and a ScheduleView. Also, I am sending you a sample project in which is illustrated the same behaviour between TreeView and a ScheduleView.

    Hope this will help.

    Regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  6. Jeff
    Jeff avatar
    3 posts
    Member since:
    Jun 2011

    Posted 28 Nov 2011 Link to this post

    Konstantina,
    Thanks for the reply & attached project.  In examining the project, the ScheduleView still has time slots and the dropped items must fit into a time slot.  Can you use the ScheduleView without time slots?

    Jeff.
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Nov 2011 Link to this post

    Hi Jeff,

    Through setting the string format of the time slot, you can customize the digits from the TimeRuler. Please refer to this help article in which is explained how to use the string format properties. Also, you might configure the time slots to stretch using the Min/MaxTimeRulerExtent - more information here.

    Kind regards,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top
DevCraft banner