This question is locked. New answers and comments are not allowed.
I have this code
winEdicion = $.telerik.window.create({ name: "winEdicion", title: "Feed Edit", contentUrl: url, modal: true, visible: false, resizable: false, draggable: false, onClose: function (e) { e.preventDefault(); winEdicion.data('tWindow').destroy(); } }); winEdicion.data('tWindow').center().open();
with this style
.t-window-content
{
width: auto !important;
height: auto !important;
}
The problem that I have is that the window is not center. To center it I have to add the code
onActivate: function (e) {
winMensajeAfirmacion.data('tWindow').center();
},
but it makes an ugly effect.
Is there another way to open the window with autosize on the middle of the screen?
Thanks