The runtime version of the RadWindow dll is v2.0.50727
and the Version is 1.9.1.0
Please let me know how to fix this.
Thanks.
3 Answers, 1 is accepted
The version that you use - RadWidnow for ASP.NET does not support IE8. We provide full support for that version of IE in the Q1 SP1 2009 (ASP.NET AJAX) version of the control. I strongly recommend to consider upgrading, but if you insist on using RadWIndow for ASP.NET, you could try the following workaround - just place the script on the page after RadWindowManager's declaration:
/// Workaround
RadWindowNamespace.RadWindowModal.prototype.RestoreInputElementsState =
function
()
{
if
(
this
.Window.IsIE)
{
this
.DisabledDrodpowns =
false
;
for
(
var
i = 0; i <
this
.InputElementsState.length; i++)
{
var
_o =
this
.InputElementsState[i];
if
(_o.isEnabled)
{
_o.inputElement.removeAttribute(
"disabled"
);
}
}
}
}
RadWindowNamespace.RadWindowModal.prototype.DisableInputElements =
function
()
{
if
(
this
.Window.IsIE && !
this
.DisabledDrodpowns)
{
this
.InputElementsState = [];
var
lists = document.getElementsByTagName(
"SELECT"
);
for
(
var
i = 0; i < lists.length; i++)
{
this
.InputElementsState[i] = {
inputElement: lists[i],
isEnabled: !(lists[i].getAttribute(
"disabled"
))
};
lists[i].setAttribute(
"disabled"
,
"disabled"
);
}
this
.DisabledDrodpowns =
true
;
}
}
////////////////////////////////////////////////////
Regards,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I am using RadControls for ASP.NET AJAX Q2 2010, still I am getting same problem (All drop down of parent page get disable after closing radwindow). IE 8, IE 9 in both version I found this problem, but when I use compatible view of IE then its working fine.
I am using following code:
/*Javascript code*/
function OpenDialogContactType() {
var url = "TestLocal.aspx?ID=-1";
mwinHistory = top.radopen(url, "rdWdTestLocal");
OpenRadWinContactType(title, 900, 500);
return false;
}
function OpenRadWinContactType(title, width, height) {
mwinHistory.SetSize(width, height);
mwinHistory.SetModal(true);
mwinHistory.SetTitle(title);
mwinHistory.Center();
mwinHistory.SetStatus("");
}
/*Javascript code*/
<asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true">
<Scripts>
<asp:ScriptReference Path="~/_Common/clientscript/jQuery1.4.1.js" />
</Scripts>
</asp:ScriptManager>
<radW:RadWindowManager ID="rdManagerLocalContact" runat="server"
Modal="true" >
<Windows>
<radW:RadWindow ID="rdWdLocalContact" runat="server" Modal="true" OffsetElementId="searchForm"
InitialBehavior="none" Behaviors="Close" VisibleStatusbar="false" AutoSize="true"
DestroyOnClose="false"></radW:RadWindow>
</Windows>
</radW:RadWindowManager>
I tried this scenario with the Q2 2010 SP2 release and things were working fine with me: http://screencast.com/t/h0UxVKWI8MLe. I am also attaching here my test page as a reference so you can compare it with yours and try to locate the reason.
What I advise is that you upgrade to the latest version (currently Q1 2012), not only because there have been many fixed and improvements since the old version you are using, but also because it supports IE9.
All the best,
Marin
the Telerik team