I noticed that when I added the RadWindowManager to my login page, the AutoComplete Password feature in IE stopped functioning. Microsoft, in its infinite wisdom, setup this feature so that it only works when there are exactly two text input controls on the page. When reviewing the generated html, it looks like when the RadWindowManager is added, another text input control is generated.
Look for the line: <input title="Enter Value" onkeydown="return RadWindowprompt_detectenter('{0}', event, this);" type="text" class="rwDialogInput" value="{2}" />
As much as I dislike the notion of users using the AutoComplete for passwords from a security stand point, it is a requirement that this page support it. Is there a simple work around so I can keep the RadWindowManager on this page?
I am using IE8 and version 2011.2.915 of the Telerik controls. Thanks.
Look for the line: <input title="Enter Value" onkeydown="return RadWindowprompt_detectenter('{0}', event, this);" type="text" class="rwDialogInput" value="{2}" />
<
div
id
=
"ctl00_windowManager"
style
=
"z-index:9500;display:none;"
>
<!-- 2011.2.915.40 -->
<
div
id
=
"ctl00_windowManager_alerttemplate"
style
=
"display:none;"
>
<
div
class
=
"rwDialogPopup radalert"
>
<
div
class
=
"rwDialogText"
>
{1}
</
div
>
<
div
>
<
a
onclick
=
"$find('{0}').close(true);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
>
<
span
class
=
"rwOuterSpan"
>
<
span
class
=
"rwInnerSpan"
>##LOC[OK]##</
span
>
</
span
>
</
a
>
</
div
>
</
div
>
</
div
><
div
id
=
"ctl00_windowManager_prompttemplate"
style
=
"display:none;"
>
<
div
class
=
"rwDialogPopup radprompt"
>
<
div
class
=
"rwDialogText"
>
{1}
</
div
>
<
div
>
<
script
type
=
"text/javascript"
>
function RadWindowprompt_detectenter(id, ev, input)
{
if (!ev) ev = window.event;
if (ev.keyCode == 13)
{
var but = input.parentNode.parentNode.getElementsByTagName("A")[0];
if (but)
{
if (but.click) but.click();
else if (but.onclick)
{
but.focus(); var click = but.onclick; but.onclick = null; if (click) click.call(but);
}
}
return false;
}
else return true;
}
</
script
>
<
input
title
=
"Enter Value"
onkeydown
=
"return RadWindowprompt_detectenter('{0}', event, this);"
type
=
"text"
class
=
"rwDialogInput"
value
=
"{2}"
/>
</
div
>
<
div
>
<
a
onclick
=
"$find('{0}').close(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
><
span
class
=
"rwOuterSpan"
><
span
class
=
"rwInnerSpan"
>##LOC[OK]##</
span
></
span
></
a
>
<
a
onclick
=
"$find('{0}').close(null);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
><
span
class
=
"rwOuterSpan"
><
span
class
=
"rwInnerSpan"
>##LOC[Cancel]##</
span
></
span
></
a
>
</
div
>
</
div
>
</
div
><
div
id
=
"ctl00_windowManager_confirmtemplate"
style
=
"display:none;"
>
<
div
class
=
"rwDialogPopup radconfirm"
>
<
div
class
=
"rwDialogText"
>
{1}
</
div
>
<
div
>
<
a
onclick
=
"$find('{0}').close(true);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
><
span
class
=
"rwOuterSpan"
><
span
class
=
"rwInnerSpan"
>##LOC[OK]##</
span
></
span
></
a
>
<
a
onclick
=
"$find('{0}').close(false);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
><
span
class
=
"rwOuterSpan"
><
span
class
=
"rwInnerSpan"
>##LOC[Cancel]##</
span
></
span
></
a
>
</
div
>
</
div
>
</
div
><
input
id
=
"ctl00_windowManager_ClientState"
name
=
"ctl00_windowManager_ClientState"
type
=
"hidden"
/>
</
div
>
As much as I dislike the notion of users using the AutoComplete for passwords from a security stand point, it is a requirement that this page support it. Is there a simple work around so I can keep the RadWindowManager on this page?
I am using IE8 and version 2011.2.915 of the Telerik controls. Thanks.