2017-04-03 37 views
0

我正在使用jQuery FullCalendar作爲我的日曆。我想添加一個可以重複發生我的事件的函數。我不確定FullCalendar是否有此功能,或者我們需要自定義。我正在使用ASP MVC。我開始使用此代碼FullCalendar ASP中的重複事件MVC

public ActionResult Create(string start) 
{ 
    var a = startdt.ToString("dddd"); 
    if (repeat == "daily") 
    { 
     if (a == "monday") 
     { 
      for (start, till, ++days) 
      { 
       //not sure what to do 
      } 
     } 

    } 
} 

我希望它像每一個monday開始日期後,會話自動此人預定。我很確定我沒有這樣做,因爲我沒有找到任何參考。誰能幫我?

回答