This is a migrated thread and some comments may be shown as answers.

Resizing an appointment to be multiple days

3 Answers 119 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Daniel B
Top achievements
Rank 1
Daniel B asked on 26 Apr 2012, 12:23 AM
Hi,

To get the multi-day behavior we are after when using RadScheduler, through some other forum posts, we found that we can set the ShowAllDayArea to false on the WeekView, and it does what we want.  (RadScheduler.GetWeekView().ShowAllDayArea = false).  When dragging to select cells, you can click on say Monday at 2:00 pm, and drag to Wednesday at 10:00 am, and define an appointment for that time. Great.

However, we can't resize an existing appointment to extend it to multiple days.  So, if we have an appointment from Monday at 2:00 pm to Monday at 5:00 pm, we can drag the bottom of that to extend to Monday at 9:00 pm, but if we keep dragging to the right, it does not extend to Tuesday, etc.   And likewise, if we try to resize an appointment that was already multiple days, we can't change which days the start or end are on through drag resizing.  Whatever end you're dragging stays confined to the same day.

Is there anyway to enable the behavior to be able to resize to multiple days?  We're using RadScheduler from Q2 2010 SP2.

Thanks!
-Daniel

3 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 30 Apr 2012, 11:47 AM
Hello Daniel,

Thank you for writing.

The functionality you seek was not yet supported in Q2 2010. However, there is a way to implement it in the version you are using. Please refer to the attached project for further details.

A bit off topic, I would like to remind you that your subscription package has expired, which means that you are not entitled to support services. I would highly recommend upgrading your license to the latest version in order to continue getting product updates and uninterrupted support services. Please, contact sales@telerik.com or visit your account for your upgrading options.

I hope this was helpful. Feel free to ask if you have any further questions.

Kind regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Daniel B
Top achievements
Rank 1
answered on 01 May 2012, 12:24 AM
Thank you!

That's the first I'd seen an example of a custom ResizeBehavior. Thanks!  The example does show a way to have an appointment "break into" the next day. It's not quite the same as the resize from one day to multiple days, or multiple days to one day that iCal and Google Calender have however.  Is the behavior we're after something that the latest version of the scheduler supports?  Is it the default behavior, or something that you enable somehow? It seems I also read that the version of the scheduler we're using in Q2 2010 is now obsolete in the latest version.  How well does theming and code translate to the new scheduler?

Thanks!
-Daniel
0
Ivan Todorov
Telerik team
answered on 03 May 2012, 01:46 PM
Hi Daniel,

The resizing of appointments in the latest version behaves just like in the sample I have attached to my previous post. Currently, this is the default behavior and it cannot be modified easily just by setting a few properties. It can be overridden, but there are some technical limitations in the implementation of RadScheduler that prevent us from implementing continuous resizing. Nevertheless, we will try to improve this in a future as this sounds like a reasonable feature. I have logged it in our Public Issue Tracking System, so you can track its progress. Here is the link to the PITS item. Your Telerik points have been updated for bringing this feature to our attention.

As to upgrading to the latest version, there are some breaking changes, but generally it should be easier to upgrade from Q2 2010 than any other previous version. Briefly, here are the breaking changes you might face:


If you do not have any custom workarounds in your code, it should be relatively easy to upgrade to the latest version. In addition, if you face any difficulties while upgrading, you can always contact us for assistance.

I hope I was able to help. In case you have any additional questions, do not hesitate to ask.

Greetings,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Daniel B
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Daniel B
Top achievements
Rank 1
Share this question
or