public Scheduler(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator ) : base(viewContext, initializer) { DataSource = new DataSource(); DataSource.Type = DataSourceType.Ajax; DataSource.Schema.Model = new SchedulerModelDescriptor(typeof(TModel)); UrlGenerator = urlGenerator; Resources = new List <SchedulerResource <TModel> >(); Views = new List <SchedulerViewBase>(); AllDaySlot = true; Messages = new SchedulerMessages(); Group = new SchedulerGroupSettings(); }
protected SchedulerViewBase(SchedulerViewType type) { Type = type; Group = new SchedulerGroupSettings(); }