It would be really nice to have an easy way to dynamically create Kendo Windows in AngularJS. And also with separate controller and template. https://github.com/kjartanvalur/angular-kendo-window Here i´m trying to do this but it would be really good to have a similar way integrated into Kendo. There is also a demo on the repo. http://plnkr.co/edit/6lyrblMhZ5ofuonmGoPZ?p=preview
Hello, All,
As we are in the final year of Google's support towards AngularJS and the fact there wasn't much activity in this thread - we are declining the item.
Regards,
Nencho
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
var modalRenderDeferObj = $q.defer();
// Observe function will be called on next digest cycle after compilation, ensuring that the DOM is ready.
// In order to use this way of finding whether DOM is ready, we need to observe a scope property used in modal's template.
attrs.$observe('modalRender', function (value) {
if (value == 'true') {
modalRenderDeferObj.resolve();
}
});
modalRenderDeferObj.promise.then(function () {
attrs.$observe(
'modalRender'
,
function
(value) {
if
(value ==
'true'
) {
setTimeout(
function
() {
modalRenderDeferObj.resolve();
},100)
}
});
Hi Team ,
I am using your angular kendo window js , it works cool on older version jquery 2.1.0 and now when I updated to jquery 3.3.1 , it has stopped working and error on console TypeError: Cannot read property 'open' of undefined I am sharing you the link for clarification with this attachment. Kindly solve this issue, it will be a great help.
See angular Material. That´s really nice to seperate dialogs wih separate component and template https://material.angular.io/components/dialog/overview let dialogRef = dialog.open(UserProfileComponent, { height: '400px', width: '600px', }); dialogRef.afterClosed().subscribe(result => { console.log(`Dialog result: ${result}`); // Pizza! });
This component works really well and seems to be pretty stable and it makes dealing with windows with Kendo MUCH easier. Only issue we ran into was the the Kendo UI v2015.2.805 version caused the option values to be ignored. Updating to anything after 1015.3 seems to work fine.
Thanks for the proposal and for the reference to your implementation, Kjartan. We'll have it in mind when developing the Angular 2 integration for our Kendo UI window widget.
Here is another similar suggestion but not with angular. http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/2398891-dynamically-creating-kendo-windows