Hello.
Is there any way to add a new property in my CalendarEvent.cs and get this property and use in event box and lightbox???
Hello.
Is there any way to add a new property in my CalendarEvent.cs and get this property and use in event box and lightbox???
CalendarEvent.cs
public int id { get; set; }
public string text { get; set; }
public DateTime start_date { get; set; }
public DateTime end_date { get; set; }
public string project { get; set; }
public string task { get; set; }
Save.ashx
var descProj = context.Request["DESCPROJECT"]; //I take this propertt from my html
var descTask = context.Request["DESCTASK"];
var changedEvent = (CalendarEvent)DHXEventsHelper.Bind(typeof(CalendarEvent), context.Request.Form);
changedEvent.project = descProj ; //I take this propertt from my html.. i set the name there
changedEvent.task = descTask;
when I need the scheduler.event.project or event.task i receive null…
Control can be added following way:
Scheduler.Lightbox.Add(new LightboxText(“task”, “Task”));
scheduler-net.com/docs/lightbox. … e_lightbox
To use new values in event box you’ll need to override templates
scheduler-net.com/docs/dhxschedu … lates.html