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

ScheduleView - Issue when there is no appointment defined and clicked on Save/Cancel button.

2 Answers 136 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shiv
Top achievements
Rank 1
Shiv asked on 25 May 2011, 07:50 AM

Hi,
I am facing few issue while using ScheduleView control.

  1. When there are no appointments in the obseverable collection of a custom appointment type and click on save or cancel button, I get the below exception:
    Screeenshot #1: Plz refer attached image: "Error1.jpg"

    In you demo application on your website I am able to generate an error for the same schenario. Attached image: "Delete all appointment and try to create new one and click on save.jpg"

  2. When I tried to create appointment past 3 or 4 month back and click on save or cancel button, I get the below exception.
    Screeenshot #2: Plz refer attached image: "Error2.jpg"

Please do the needful.

Thanks,
Shiv

2 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 25 May 2011, 09:57 AM
Hello Shiv,

You need to use ObservableCollection<ISIS.CRM.ViewModels.CRMAppointment> as AppointmentsSource. In addition, CRMAppointment should override the Copy and CopyFrom methods of its base class (Appointment I suppose).

Best wishes,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Shiv
Top achievements
Rank 1
answered on 26 May 2011, 05:30 AM
Hi Valeri,

Thanks.. It's working now after implementing the code.

Thanks,
Shiv
Tags
ScheduleView
Asked by
Shiv
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Shiv
Top achievements
Rank 1
Share this question
or