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

'StackedSports.Models.TaskViewModel' does not implement interface member 'Kendo.Mvc.UI.ISchedulerEvent.EndTimezone'

5 Answers 204 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Season
Top achievements
Rank 1
Season asked on 25 Mar 2014, 11:26 AM
Hi,
i have an error 

'StackedSports.Models.TaskViewModel' does not implement interface member 'Kendo.Mvc.UI.ISchedulerEvent.EndTimezone'

how can i solve it...

please give a solution

my code is

  public class TaskViewModel : ISchedulerEvent   //error line
    {
        public int TaskID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }


        private DateTime start;
        public DateTime Start
        {
            get
            {
                return start;
            }
            set
            {
                start = value.ToUniversalTime();
            }
        }


        private DateTime end;
        public DateTime End
        {
            get
            {
                return end;
            }
            set
            {
                end = value.ToUniversalTime();
            }
        }
        public string RecurrenceRule { get; set; }
        public int? RecurrenceID { get; set; }
        public string RecurrenceException { get; set; }
        public bool IsAllDay { get; set; }
        public int? OwnerID { get; set; }
}






















5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 25 Mar 2014, 11:53 AM
Hi Anand,

The error message means that your class doesn't implement an interface member. Have you tried implementing the EndTimezone property?

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Season
Top achievements
Rank 1
answered on 25 Mar 2014, 12:02 PM
thank you for your comment 
how to create the endTimeZone property..i am new in mvc...
please help me..
0
Atanas Korchev
Telerik team
answered on 25 Mar 2014, 12:09 PM
Hi Anand,

The EndTimezone property is a simple string property. Implementing it with just a getter and setter would be enough:

public string EndTimezone { get; set; }

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Season
Top achievements
Rank 1
answered on 25 Mar 2014, 12:26 PM
Thank you very much..
0
Season
Top achievements
Rank 1
answered on 26 Mar 2014, 04:53 AM
this problem is solved....
i click the scheduler that shows a dialog box for event then i click the save button, but that is not working..
please give a solution..
Tags
Scheduler
Asked by
Season
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Season
Top achievements
Rank 1
Share this question
or