FullCalendar events from asp.net ASHX page not displaying

前端 未结 7 1212
慢半拍i
慢半拍i 2021-01-14 15:36

I have been trying to add some events to the fullCalendar using a call to a ASHX page using the following code.

Page script:



        
7条回答
  •  情书的邮戳
    2021-01-14 16:00

    FullCalendar events from asp.net ASHX page not displaying is a correct solution to the issue.

    And I used long format for dates.

    And @Steve instead of StringAppending we can use :-

    System.Web.Script.Serialization.JavaScriptSerializer oSerializer =
    new System.Web.Script.Serialization.JavaScriptSerializer();
    String sJSON = oSerializer.Serialize(evList); 
    

    evList being your list containing all events which has the essential properties like id,start,end,description,allDay etc..

    I know this thread is an old thread,but this will be helpful to other users.

    Just collating all the answers.

提交回复
热议问题