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

[Solved] Jumpy behaviour when dragging non-modal window

0 Answers 17 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gunnar
Top achievements
Rank 1
Gunnar asked on 18 Jan 2012, 05:05 PM
Hi.

I am experiencing jumpy behaviour when dragging the non-modal telerik window in Chrome and IE9. The telerik wondow is placed over an iframe delivered by an external vendor. The problem is that mouseover events are firing in the underlying iframe, causing timeconsuming context-switches in the browser.

When using the telerik window in modal mode the dragging works fine, as it then creates semitransparent a div overlay, preventing the mouseover events from the iframe behind.
 
So ideally my solution wolud be to show the semitransparent div overlay(used in modal-mode) when dragging is started, and hide it when dragging stops. Something like: (Jquery syntax)
$( ".TelerikDraggableWindow" ).bind( "dragstart", function(event, ui) {
$('#t-overlay').show();
});
$( ".TelerikDraggableWindow" ).bind( "dragstop", function(event, ui) {
$('#t-overlay').hide();
});

Is there any way I can connect to/ or override the dragstart/stop event?

Thanks in advance:-)
Tags
Window
Asked by
Gunnar
Top achievements
Rank 1
Share this question
or