When i minimize my window in a tabstrip like your demo and I click on tab to show window like this, The content of my window is reloaded and i lost all my change before minimize. If i look in source of my page, i see change i've made but restore cause a reload. Why ?
function ShowWindow(win) {
if (!win.isVisible()) {
win.show();
win.restore();
//if the window was maximized before client minimizes it, we need to restore
//its maximized state
if (win._Maximized) {
win.maximize();
win._Maximized =
null;
}
}
//ensure that the currently active RadWindow will have the highest z-Index.
var popupElem = win.get_popupElement();
var oldZindex = parseInt(popupElem.style.zIndex);
var styleZIndex = win.get_stylezindex();
var newZIndex = (styleZIndex) ? styleZIndex : Telerik.Web.UI.RadWindowUtils.get_newZindex(oldZindex);
popupElem.style.zIndex =
"" + newZIndex;
win.setActive(
true);
}