Я пытаюсь вызвать модальный расширитель всплывающих окон из JavaScript. Вот звонок:
function MyFunction()
{alert("test");
$find('mdlPassword').show;}
Я получаю предупреждение, когда он вызывается, но модальный всплывающий расширитель не отображается. Вот материал aspx:
<!-- Popup Extenders Should Go Here -->
<asp:button id="Button1" runat="server" text="Button" style="display: none;" />
<asp:ModalPopupExtender ID="mdlPassword" runat="server"
targetcontrolid="Button1" popupcontrolid="pnlPassword"
popupdraghandlecontrolid="PopupHeader" drag="true">
</asp:ModalPopupExtender>
<asp:Panel ID="pnlPassword" style="display: none" runat="server">
<div class="PasswordPopup">
<div id="PopupHeader"> </div>
<div class="Controls">
<center><table><tr>
<td>Please enter your password:</td><td><input type="password" name="Password" /></td></tr>
<tr><td> </td>
<td><asp:linkbutton id="btnOK" runat="server" text="OK" /> <asp:linkbutton id="btnCancel" runat="server" text="Cancel" /></td></tr></table></center>
</div>
</div>
</asp:Panel>
Есть идеи?
Спасибо
Jason