I am using MVC4 and Razor and the recurring examples and these seem to work fine. However when I add new items I want to appear in the lightbox - for example a dropdown, then the event description box and the recurring section disappears… any help would be appreciated.
Code I’m using:
public ActionResult Index()
{
//var data = new SampleDataContext();
var scheduler = new DHXScheduler(this); //initializes dhtmlxScheduler
scheduler.Extensions.Add(SchedulerExtensions.Extension.Recurring);
var select = new LightboxSelect("textColor", "Priority");
var items = new List<object>(){
new { key = "gray", label = "Low" },
new { key = "blue", label = "Medium" },
new { key = "red", label = "High" }
};
select.AddOptions(items);
scheduler.Lightbox.Add(select);
scheduler.LoadData = true;// allows loading data
scheduler.EnableDataprocessor = true;// enables DataProcessor in order to enable implementation CRUD operations
return View(scheduler);
}