private string serializeEvent(object ev)
        {
            if (ev == null)
            {
                return("{}");
            }
            DHXSchedulerDataStore schedulerDataStore = new DHXSchedulerDataStore();

            schedulerDataStore.Add(ev);
            string str = schedulerDataStore.Render();

            if (str.Length >= 2)
            {
                str = str.Substring(1, str.Length - 2);
            }
            return(str);
        }
 protected string RenderDefault()
 {
     return(this.replaceDates(DHXSchedulerDataStore.GetSerializer(DateFormatHelper.ConvertInnerFormatToNet(this.DateFormat), this.TimeOffset, this.ToUniversalTime).Serialize((object)this.items)));
 }