Exemple #1
0
        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();
        }
Exemple #2
0
 protected SchedulerViewBase(SchedulerViewType type)
 {
     Type  = type;
     Group = new SchedulerGroupSettings();
 }
Exemple #3
0
 protected SchedulerViewBase(SchedulerViewType type)
 {
     Type = type;
     Group = new SchedulerGroupSettings();
 }