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

Class inherits from Appointments

3 Answers 61 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rafael
Top achievements
Rank 1
Rafael asked on 19 Apr 2011, 05:55 PM
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?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Apr 2011, 06:49 AM
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.
0
Rafael
Top achievements
Rank 1
answered on 20 Apr 2011, 04:11 PM
I get the error message when i'm trying to override the method.


Telerik.Web.UI.Appointment does not contain a definition for CopyFrom();
0
Peter
Telerik team
answered on 21 Apr 2011, 04:25 PM
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.

Tags
Scheduler
Asked by
Rafael
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Rafael
Top achievements
Rank 1
Peter
Telerik team
Share this question
or