[CLOSED] Error in SetStartDate to CalendarPanel dynamic

  1. #1

    [CLOSED] Error in SetStartDate to CalendarPanel dynamic

    Attached Thumbnails Click image for larger version. 

Name:	ErrorSetStartDate.jpg 
Views:	17 
Size:	86.1 KB 
ID:	7441  
    Last edited by Daniil; Jan 08, 2014 at 6:03 AM. Reason: [CLOSED]
  2. #2
    Please replace thye following code
    cp.SetStartDate(DateTime.Now);
    by this code
    cp.Listeners.AfterRender.Handler = "this.setStartDate(" + JSON.Serialize(DateTime.Now, JSON.ScriptConverters) +")";
  3. #3
    Quote Originally Posted by Vladimir View Post
    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

Similar Threads

  1. Replies: 5
    Last Post: Mar 19, 2013, 3:27 AM
  2. Replies: 9
    Last Post: Apr 18, 2012, 2:09 PM
  3. Replies: 2
    Last Post: Jan 12, 2012, 11:30 AM
  4. [CLOSED] CalendarPanel.weekview.setStartDate bug
    By Edward in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 23, 2011, 1:08 PM
  5. Error dynamic store
    By jortega in forum 1.x Help
    Replies: 0
    Last Post: Apr 24, 2009, 8:23 AM

Tags for this Thread

Posting Permissions