This is a migrated thread and some comments may be shown as answers.

Window Drag Event

4 Answers 157 Views
Window
This is a migrated thread and some comments may be shown as answers.
Treg
Top achievements
Rank 1
Treg asked on 11 Nov 2011, 11:17 PM
What is the recommended way to have a kendoWindow listen for the dragEnd event?

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Nov 2011, 10:27 AM
Hi Treg,

You can use:

var window = $("#window");
 
    window.kendoWindow({
        width: "500px",
        title: "Kendo Window"
    });
 
var myfunc = function (e) { /* ...  */ }
 
window.data("kendoWindow").dragging._draggable.bind("dragend", myfunc);


Kind regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Treg
Top achievements
Rank 1
answered on 14 Nov 2011, 05:42 PM
thank you.

Are there plans to incorporate this into the configuration settings for kendoWindow by the November rollout?
0
Dimo
Telerik team
answered on 15 Nov 2011, 02:12 PM
Hello Treg,

Yes, a dragend event has been exposed for the Window widget and it will be available for the official release.

Best wishes,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Chris
Top achievements
Rank 1
answered on 16 Oct 2012, 11:56 PM
Thanks Dimo,
I have the Kendo MVC ententions and I am having a little difficulty implementing this.
Do you have an MVC sample?  
Tags
Window
Asked by
Treg
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Treg
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Share this question
or