Hi ,
Thanks for your quick reply....but
when i am using $find(id of Mpe) then i am getting null so i have to use the behaviour id.
Also i am using panel with visible none.
your suggestions not helped more!
Now changed my code lil bit but now the problem is:
Now what is happening after changing the combo box choice and clicking on close button is closing the mpe and the comboboxes on the main page are also reappearing this is fine. But the problem is after clicking on the Save button if i click on the close button then the mpe is not closing and it is being open. And when i do change in value of the combo box and clicks on the save button after that when i click on the close button then it is not closing the MPE rather it shows some time runtime js error:
Error : Microsoft JScript runtime error: 'this.get_element().style' is null or not an object
Below is my code:
<cc1:ModalPopupExtender BehaviorID="mdlSelectAll" ID="mdlSelectAll"
runat="server" TargetControlID="lknbtnSelectAllSecurities"
PopupControlID="pnlSelectAll" BackgroundCssClass="modalBackground"
CancelControlID="btnClose" >
</cc1:ModalPopupExtender>
<asp:Panel ID="pnlSelectAll" runat="server" BackColor="White" Height="100px" Width="400px" Style="display: none">
<asp:UpdatePanel ID="upAlerts" UpdateMode="always" runat="server">
<ContentTemplate>
<table cellpadding="0" id="tblSelectAll" cellspacing="0" border="0" style="width: 100%">
<tr>
<td align="center" colspan="2" style="background-color: #C4D0DC">
<asp:Label ID="lblHeaderSelectAll" runat="server" Text="Select desired Manager" SkinID="LabelFields"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 193px">
</td>
</tr>
<tr>
<td colspan="2" style="width: 100%" valign="top" align="center">
<asp:DropDownList runat="server" ID="comboManagersSelectAll">
<asp:ListItem Text="28B00X15 BLACKROCK BAL TAX/LCC NRC MAA" Value=""></asp:ListItem>
<asp:ListItem Text="28B00X16 BLACKROCK BAL TAX/LCC NRC MAA" Value=""></asp:ListItem>
<asp:ListItem Text="28B00X17 BLACKROCK BAL TAX/LCC NRC MAA" Value=""></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 193px">
</td>
</tr>
<tr>
<td style="width: 193px" valign="top" align="right">
<input title="click here to select the desired manager"
onserverclick="btnOK_Click" id="btnOk"
class="minibutton" runat="server"
type="button" value="OK" />
</td>
<td style="width: 50%">
<%--<input
title="click here to close the window" id="btnClose"
class="minibutton" runat="server" type="button"
value="Close"/>--%>
<asp:Button ID="btnClose" CssClass="minibutton" runat="server" Text="Close" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
<tr id="trSelectAll" runat="server">
<td style="width: 100%" valign="top">
<a id="lknbtnSelectAllSecurities" runat="server">
<asp:Label CssClass="omdlink" ToolTip="Click here to select all" ID="lblSelectAll"
runat="server" Text=""></asp:Label>
</a>
</td>
</tr>
Kindly see this... and suggest me where i am wrong...
Regards,
Rupesh Kumar Tiwari
Roopkt, if this helps please login to Mark As Answer. | Alert Moderator