Class inherits from Appointments

4 posts, 0 answers
  1. Rafael
    Rafael avatar
    13 posts
    Member since:
    Aug 2010

    Posted 19 Apr 2011 Link to this post

    I"m creating a class that inherits from Appointments to add the fields we require in the project. Do i need to override the Copy and CopyFrom methods?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Apr 2011 Link to this post

    Hello Rafael,
    As far as I know, In order to function your custom appointment class normally, you have to override two methods of the base class - Copy() and CopyFrom().
    Thanks,
    Shinu.
  3. Rafael
    Rafael avatar
    13 posts
    Member since:
    Aug 2010

    Posted 20 Apr 2011 Link to this post

    I get the error message when i'm trying to override the method.


    Telerik.Web.UI.Appointment does not contain a definition for CopyFrom();
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 21 Apr 2011 Link to this post

    Hi Rafael,

    Please, refer to this demo and  examine how the AppointmentInfo class and its CopyInfo() method are implemented.


    Kind regards,
    Peter
    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