search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DayPilot Lite Not able to modify source code

Asked by Manish
9 years ago.

Hello,

I have downloaded Daypilot lite source from the website. In this I have added DayPilot.Web.Mvc Project to my source. After addind this error was coming:-

"Incompatible DayPilot client script version. Expected 176-lite (you are using 1478)."

I have commented this code and tried to run, then in the OnInit method error was coming:-

protected override void OnInit(DayPilot.Web.Mvc.Events.Calendar.InitArgs e)
{
UpdateWithMessage("Welcome!", CallBackUpdateType.Full);
}

so I have commented this code and written new one:-

protected override void OnInit(InitArgs initArgs)
{
Update(CallBackUpdateType.Full);
}

After that Day View and Week View is not appearing properly.

Can you please tell me if i am missing any step and how can i solve my problem.

Answer posted by Dan Letecky [DayPilot]
9 years ago.

You are using an incorrect daypilot-all.min.js file.

  • The daypilot-all.min.js client-side library you are using (1478) is taken from the Pro version (not open-source).
  • You must use the client-side library shipped with the DayPilot Lite download package (see the Scripts folder).
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.