Forums - C# Corner

Forum guidelines
Naresh Babu Gopavaram

Naresh Babu Gopavaram

  • 1.2k
  • 198
  • 184.3k

Modelpoup is not shown in IE7 but works fine in chrome

Dec 14 2011 2:50 AM
 <asp:Panel ID="pnlAddBuilding" runat="server">
            <asp:UpdatePanel ID="upnlAddBuilding" runat="server">
                <ContentTemplate>

Controls here
   </ContentTemplate>
            </asp:UpdatePanel>
        </asp:Panel>

<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" BackgroundCssClass="modalBackground"
    TargetControlID="btnModalPopup" PopupControlID="pnlAddBuilding" Enabled="True">
</ajaxToolkit:ModalPopupExtender>


<asp:Button ID="btnModalPopup" runat="server" Style="display: none;" />

i am trying to show in linkbutton click event like as follows
ModalPopupExtender1.show();

but it is not shown in IE7

it gives error UnknownRunTime Error 

plz any one help me



File APIs for .NET – 25% off Aspose.Total
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more! Use coupon code HOL2016PSB