Comment posted by Dan Letecky
17 years ago.
Well, if DayPilot is inside ComponentArt's callback control (I suppose it's something like UpdatePanel from ASP.NET) it won't work.
The problem is that DayPilot needs to execute an initialization JavaScript after update. So far all the third-party callback panels I've tested required DayPilot to be compiled with that particular library as a dependence. Otherwise it wasn't possible to ensure that this code gets executed.
You have two choices here:
1. Switch to UpdatePanel from ASP.NET AJAX Extensions.
2. Use refreshCallBack() client-side method to invoke the callback (ituses an internal callback mechanism). It's possible to change the CellWidth in the server-side Refresh event handler then (this demonstrated in Demo/Scheduler/Default.aspx page).
Comment posted by Satyendra Sharma
17 years ago.
Thanks! refreshCallback works. I dont need to use another callback control anymore.