Unplanned
Last Updated: 05 Jul 2022 08:20 by Holger
Holger
Created on: 05 Jul 2022 08:20
Category: UI for ASP.NET MVC
Type: Feature Request
2
Add global OnAfterInit event for the components
I have the following scenario:
I am using an ASP.NET MVC application with WebPack and Javascript modules. To initialize the Kendo components I embed the deferred scripts in a javascript function, which is then called by the JS view model. 

My problem is: Kendo registers the initialization scripts through the SyncReady function, which is then called asynchronously on the document.ready event. But there is no way to configure the controls after initialization in the javascript. So e.g. an OnAfterInit event or similar. For controls like the TileLayout this is very annoying, because no user gets the idea to click a button to load the "right" layout. But surely the other controls would also benefit from such an event. Also a global entry point after processing "syncReady" would be useful.
0 comments