set_stylezindex is missing

4 posts, 0 answers
  1. benitolopez_sistemas
    benitolopez_sistemas avatar
    25 posts
    Member since:
    Jan 2007

    Posted 03 Aug 2010 Link to this post

    Does anybody know what happen with the set_stylezindez method?
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 03 Aug 2010 Link to this post

    Hello benitolopez_sistemas,


    There is no setter for _stylezindex (i.e. set_stylezindex), but only a getter method (get_stylezindex()). If you want to change the z-Index of a RadWindow dynamically, via JavaScript, you need to change the index of the popup element:

    var popupElem = oWnd.get_popupElement();  
     popupElem.style.zIndex = "" + newZIndex;


    Sincerely yours,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. benitolopez_sistemas
    benitolopez_sistemas avatar
    25 posts
    Member since:
    Jan 2007

    Posted 04 Aug 2010 Link to this post

    With this code I set the zindex on the window, with the 713 hot fix I can do this vía javascript with no problem:

    var oManager = GetRadWindowManager();
    var oWnd = oManager.radalert(prMessage, prWidth, prHeight, prTitle);
    oWnd.set_stylezindex(8100);
    oWnd.set_modal(true);

  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 09 Aug 2010 Link to this post

    Hi,

    set_stylezindex is not a documented client-side method. To ensure that your code will work as expected with every new update of the controls, please use the approach described above.


    All the best,
    Georgi Tunev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top