Scenario:
Kendo control is in a partial view.
Page loads to homepage, no kendo control.
User clicks to view that has a kendo control, we pull that partial view down and inject it into the container.
Some kendo controls do not load at all (calender), and in the scheduler's case, does not render the scheduled events.
I've tried using the deferred feature then calling Kendo().DeferredScripts(), but that only results in the scheduler not rendering at all.
The grid renders fine when dynamically injected, however.
The deferred feature documentation says the default functionality is for the control's initialization scripts to fire immediately after the control is rendered. If this is the case then injecting a partial view with kendo controls within should not be a problem.
However, all of the controls that I've tested work fine when they are rendered during page load, but only the grid works as expected when injected after page load.
Kendo control is in a partial view.
Page loads to homepage, no kendo control.
User clicks to view that has a kendo control, we pull that partial view down and inject it into the container.
Some kendo controls do not load at all (calender), and in the scheduler's case, does not render the scheduled events.
I've tried using the deferred feature then calling Kendo().DeferredScripts(), but that only results in the scheduler not rendering at all.
The grid renders fine when dynamically injected, however.
The deferred feature documentation says the default functionality is for the control's initialization scripts to fire immediately after the control is rendered. If this is the case then injecting a partial view with kendo controls within should not be a problem.
However, all of the controls that I've tested work fine when they are rendered during page load, but only the grid works as expected when injected after page load.