Why this code cause a reload of my window

2 posts, 0 answers
  1. ericc34
    ericc34 avatar
    91 posts
    Member since:
    Jul 2006

    Posted 28 Apr 2011 Link to this post

    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()) {









    //if the window was maximized before client minimizes it, we need to restore




    //its maximized state




    if (win._Maximized) {





    win._Maximized =











    //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;









  2. Collin
    Collin avatar
    24 posts
    Member since:
    Feb 2008
  3. DevCraft R3 2016 release webinar banner
Back to Top