This is a migrated thread and some comments may be shown as answers.

set_stylezindex is missing

3 Answers 25 Views
Window
This is a migrated thread and some comments may be shown as answers.
benitolopez_sistemas
Top achievements
Rank 1
benitolopez_sistemas asked on 03 Aug 2010, 05:37 AM
Does anybody know what happen with the set_stylezindez method?

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Aug 2010, 07:32 AM
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
0
benitolopez_sistemas
Top achievements
Rank 1
answered on 04 Aug 2010, 06:13 AM
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);

0
Georgi Tunev
Telerik team
answered on 09 Aug 2010, 08:53 AM
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
Tags
Window
Asked by
benitolopez_sistemas
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
benitolopez_sistemas
Top achievements
Rank 1
Share this question
or