I've updated RadControls to the latest version(Telerik.Web.UI_2010_2_713_Dev_hotfix), and now MicrosoftAjax.js generates the following error:
"Error: Sys.InvalidOperationException: '_stylezindex' is not a property or an existing field."
I've identified what is causing the error, it's when I define a z-index CSS style for a RadWindow (for example: style="z-index:8000")
Is this a regression in the update? I do not see anything in the changelog for this update that would explicitly invalidate this CSS setting (though it might be removed in order to fix some other issue that was 'fixed' in this release?)
21 Answers, 1 is accepted
Could you please tell me how exactly do you set the z-Index of the controls? In Clayton's post I see that it is set in the control's declaration, but maybe you are changing it at some point in the logic.
I am asking this because we are not able to reproduce this problem on our side and I suspect that the reason for it might be in a specific setup and logic. Could you please post a sample page here that shows how this error can be reproduced?
For convenience I attached a small test page to this thread - please modify it so it reproduces the problem and post the code in your reply.
Sincerely yours,
Georgi Tunev
the Telerik team
I am having the same issue. Copying your file and running it immeadiately caused the error with no other modification.
This is in the new q2 build
This is in the previous q1 build
They are exactly the same, so something going on internally?
We finally were able to reproduce the problem - it occurs only when you use binaries for .NET 2.0 / 3.5. We fixed the problem and the next internal build that will be available later today will work as expected.
Please accept our sincere apologies for the caused inconvenience.
Sincerely yours,
Georgi Tunev
the Telerik team
I don't know if this (Telerik.Web.UI_2010_2_720_Dev_hotfix.zip) is the build you are referring to, but z-index is still not working with RadWindow and RadMenu. Telerik.Web.UI_2010_2_715_Dev_hotfix.zip worked as expected.
Thanks,
Tim
No its not a cache problem. I went back to 715 and its working as expected. The problem seems to be with RadMenu and Radwindow.
Tim
Lee:
Yep, there it is, thanks! :)
This (720) seems to fix the issue for me.
Is workable, but not a perfect solution...
I have submitted a support ticket of the issue I am having. The problem seems to be when you show the window modally. Z-index is being ignored and the window is behind the ment and behind the smoke screen.
My build is Hotfix 720.40
See attached picture.
Tim
I tried to reproduce the problem with the latest internal build (720 for .NET 4.0), but everything worked as expected. Could you please open a support ticket and send me the sample page so I can examine it?
Thank you in advance for your cooperation.
Regards,
Georgi Tunev
the Telerik team
I saw this issue too, my 'quick fix' was to add style="zIndex:10000" for RadWindow in my skinfile.
Obviously this would conflict with any datepickers or comboboxes that happen to be on the window as well (in my case, I had none)
I don't think I had this issue with the official Q2 release.
-Chris
This is the fix Georgi gave me. It works with 720 and 722 hotfix
Georgi
----------------------------------
Thank you for the project. In your code I see that you set the z-Index with CSS. For your scenario to work, you need to set the z-Index of the RadWindow control in its declaration, e.g. style="z-index:80000" for DialogWindow.
------------------------------------------
my code
<
telerik:RadWindow
ID
=
"DialogWindow"
Modal
=
"true"
runat
=
"server"
Width
=
"500px"
Height
=
"300px"
Title
=
"View Desctiption"
style
=
"z-index:80000"
/>
Tim
Could someone alert us when there's a patch that addresses this?
Ken