PDA

View Full Version : [CLOSED] Error in SetStartDate to CalendarPanel dynamic



osef
Jan 03, 2014, 6:44 AM

Vladimir
Jan 06, 2014, 11:50 AM
Please replace thye following code


cp.SetStartDate(DateTime.Now);


by this code


cp.Listeners.AfterRender.Handler = "this.setStartDate(" + JSON.Serialize(DateTime.Now, JSON.ScriptConverters) +")";

osef
Jan 08, 2014, 12:58 AM
Please replace thye following code


cp.SetStartDate(DateTime.Now);


by this code


cp.Listeners.AfterRender.Handler = "this.setStartDate(" + JSON.Serialize(DateTime.Now, JSON.ScriptConverters) +")";


Thank you Vladimir