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

Multi Resource binding in WebService mode

4 Answers 95 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 18 May 2009, 07:30 PM
Hi

My RadScheduler (dll Version 2009.1.514.35) is data bound using a WebService that is specified using the WebServiceSettings property.
Now I wanted to implement a resource type which allows multiple resources to be selected as in the example "Implementing A Provider That Supports Multi-valued Resources". Unfortunately the Advanced form that should display CheckBoxes instead of a ComboBox for the multi valued resource type doesn't do that. Instead, it still shows the combobox.
If I change my application to use the provider directly (not via WebService) the checkboxes are displayed.

Am I doing something wrong or is this a bug or unimplemented feature?

Thanks and best regards

Christian

4 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 19 May 2009, 03:41 PM
Hi Christian,

Thank you for reporting this problem. I can confirm that multiple resource values don't work at the moment. We hope to get it fixed by the end of next week.

As a token of our gratitude for your involvement, your Telerik points have been updated.

Kind regards,
Tsvetomir Tsonev
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.
0
Christian
Top achievements
Rank 1
answered on 19 May 2009, 04:14 PM
Hi Tsvetomir

Thanks for your reply. For me you don't need to hurry because of the complexity of my advanced input form I think I'll have to build my own one anyway.
Thanks also for the Telerik Points.

Kind regards

Christian
0
Titus Nirmal Kumar
Top achievements
Rank 1
answered on 18 Aug 2009, 08:50 AM
In my application i am using Radscheduler (asp.net ajax Q2 2009) using LinqSql. But i want schedule to multiusers, i was changed the option resourcetype to
RadScheduler1.ResourceTypes.FindByName("User").AllowMultipleValues = true;
after that the users display mode chnaged DropDown to checkbox, it's displaying fine. When i selecting multiusers i got an error

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException:
 Failed to set one or more properties on type LinqToSql.Appointment.  Cannot convert value of parameter 'UserID' from 'System.Object[]' to 'Nullable<System.Int32>'.

How can i handle this error as well as the checkbox, list of users cant participate any same room & same timeTIme.
Kindly give me a solution ASAP

Advance Thanks & Regards,
Titus
0
Peter
Telerik team
answered on 18 Aug 2009, 11:41 AM
Hello Titus,

Only custom providers can provide the support to allow multi-valued resources:

http://www.telerik.com/help/aspnet-ajax/schedule_databindingimplementingaproviderthatsupportsmultivaluedresources.html


Greetings,
Peter
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.
Tags
Scheduler
Asked by
Christian
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Christian
Top achievements
Rank 1
Titus Nirmal Kumar
Top achievements
Rank 1
Peter
Telerik team
Share this question
or