Calendar Won't Refresh
12 years ago.
I've got a Calendar on which the background colours of cells is set in the BeforeCellRender event. I've also implemented manual navigation between days, for various reasons. The Calendar is an UpdatePanel. Everything else works perfectly, but for some reason, when I navigate between days, the background cell colouring of the day I navigate to doesn't appear. If I add an event to that day, suddenly the background colouring appears along with the new event.
In my VB.NET which handles the navigation between days, I've included the DataBind() and Update() commands for the Calendar in question. It seems as if adding the new event is forcing the grid to refresh and render the background colours, but for some reason, the DataBind() and Update() commands are not.
Every other action I've implemented that uses the DataBind() and Update() commands works fine. Also, what exactly is the difference between DataBind() and Update()?
DayPilot