Implementing cusotm business layer provider

8 posts, 0 answers
  1. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 18 May 2011 Link to this post

    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

  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 19 May 2011 Link to this post

    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.

  3. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 19 May 2011 Link to this post

    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

  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 19 May 2011 Link to this post

    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.

  5. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 26 May 2011 Link to this post

    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!
  6. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 27 May 2011 Link to this post

    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.

  7. Jan
    Jan avatar
    37 posts
    Member since:
    May 2008

    Posted 01 Jun 2011 Link to this post

    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
  8. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 01 Jun 2011 Link to this post

    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.

Back to Top