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

Implementing cusotm business layer provider

7 Answers 88 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 18 May 2011, 01:07 PM

Hi,

I have hard time finding some resources how to implement custom provider, in past I found this article

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

but now I can’t access it.

Do you have any workaround to get that information, or it’s unavailable on purpose?

Thanks for info

7 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 19 May 2011, 07:01 AM
Hello Jan,

We've made some changes to the help articles as well as the links. However there are places left that need to be changed. The right url for Using a Data Provider is: http://www.telerik.com/help/aspnet-ajax/scheduler-implementing-provider.html

Could you please tell me where did you found the opld url so we can fix it?

Thank you!

Greetings,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jan
Top achievements
Rank 1
answered on 19 May 2011, 09:43 AM
Hi  found it here

http://www.telerik.com/help/search.aspx?pId=561&ppId=561&start=0&q=provider

And its third link...

I think its different document, but nevermind, the one you referenced looks better.

And I think Google have indexed wrong page as well.

Cheers

0
Veronica
Telerik team
answered on 19 May 2011, 09:54 AM
Hello Jan,

Thank you for the information provided. We'll do our best to fix the wrong links left.

Greetings,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jan
Top achievements
Rank 1
answered on 26 May 2011, 11:00 AM
Uhm,

I found bit troubling following that how-to document you sent me..

The heading of the page said

To implement a RadScheduler provider, you create a class that inherits from SchedulerProviderBase. It must implement the GetAppointments, Insert, Update, Delete, GetResourceTypes and GetResourcesByType methods.

So, when I implement it Visual Studio test project i get exception

Please override GetResources(ISchedulerInfo) when implementing a new provider.

Can you provide any solution for this?

Many thanks!
0
Veronica
Telerik team
answered on 27 May 2011, 10:19 AM
Hi Jan,

It seems a problem in your implementation only as I followed the steps of the help article and didn't received your error. Could you please send me your project so I can inspect it and help you?

Thank you!

P.S: As this is a forum thread - you are not allowed to attach .zip files. Instead you can use one of the sites for free online storage as 4shared.com.

Kind regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Jan
Top achievements
Rank 1
answered on 01 Jun 2011, 03:26 PM
I cant really share source code with you.

But I implemented this workaround:

 

public override IDictionary<ResourceType, IEnumerable<Resource>> GetResources(ISchedulerInfo schedulerInfo)
        {
            return new Dictionary<ResourceType, IEnumerable<Resource>>();
        }


BR
0
Veronica
Telerik team
answered on 01 Jun 2011, 03:28 PM
Hello Jan,

I'm glad that you've been able to workaround the problem.

Please feel free to ask me if you have further questions.

All the best,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Jan
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Jan
Top achievements
Rank 1
Share this question
or