Hello,
I have an ASP.NET WebForms application rendering a DataGrid. I need to extend it with a Quick-Edit function and I decided to use a kendo.UI window for this task. I've been using them before in the application without any problems. But on this particular page I can't get it centered correctly. I have no CSS assigned to the div (window). I've tried changeing the location of the div in the markup without any effect.
What happens: I click on the button to open the window and the window scrolls the page down a lot and then pops up the window at the bottom of the visible area. If you are at the bottom of the page, the page also gets scrolled down (into an area not visible/there normally).
This is the declaration of the window:
$(
function
() {
dialog_QuickEditUsedBike = $(
"#dialog_QuickEditUsedBike"
).kendoWindow({
title:
""
,
actions: [
"Close"
],
modal:
true
,
draggable:
true
,
resizable:
false
,
visible:
false
});
});
And this is how it is opened:
dialog_QuickEditUsedBike.data(
'kendoWindow'
).center();
dialog_QuickEditUsedBike.data(
'kendoWindow'
).open();
The other markup is rather complicated. I'd rather send you login data to the page, so you can take a look at it live, if that is fine with you.
Kind regards,
Krisztian