Click here to Skip to main content
16,022,846 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I am calling the model popup control,it is not visible in the browser ,though all the codings are calling.

My coding is ,



XML
<asp:Panel ID="tstpnl">
   <table>
   <tr>
   <td>
   <asp:Label ID="tstlbl" runat="server" Text="Panel Test"></asp:Label>
   </td>
<td>
  <asp:Button ID = "btnok" runat = "server" Text = "Add" CssClass="btn"  />
<td>
   </tr>
   </table>

   </asp:Panel>





My model popup control is


XML
<ajax:ModalPopupExtender ID="modalPopupExtender_test" BackgroundCssClass = "modalBackground" runat="server" Drag ="true"
PopupControlID="tstpnl"
TargetControlID="Btnclick">
</ajax:ModalPopupExtender>
<asp:Button ID ="Btnclick" runat="server" style="display: none;"></asp:Button>








C#
.modalBackground
{
 background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}





VB
Dim PopupManPower As AjaxControlToolkit.ModalPopupExtender = modalPopupExtender_test

       PopupManPower.Show()



Though I am using allthose codes My poup is not visible in the page.I am having this types of popups in other pages .It is working fine.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900