Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Modal Popup with a Checkbox showing a Panel

$
0
0

Everybody, I am new to ASP .NET and VB. My problem is the following:

I have a Checkbox:

<asp:checkbox id="cbx11" runat="server" autopostback="true" oncheckedchanged="cbx11_CheckedChanged" />

and a Panel:

<asp:panel id="pnlDetails" runat="server" visible="false"><div style="width: 500px; border: solid 1px black; float: none; margin-left: 30px;"><div style="background-color: #fa9636; font-size: 15px; font-weight: bold; height: 20px; padding: 3px 0px 0px 10px;"><asp:Label ID="lblDetailsTitle" runat="server" /></div><div style="padding-left: 10px; background-color: #b4d6e1">  </div></div></asp:panel>	

The Panel above has a couple of table, with some input boxes and another table with radio buttons. What I want to make is that whenever I check the checkbox a popup window appears(it can dim the background if it can, or it can just be in another small window popup)

I have tried the AJAX Modal PopupExtender and it hasn't worked(it just does nothing or it gives me a couple of errors). and I have tried some JavaScript and it also gives me a lot of errors. So I was wondering if you guys could give some detailed examples on the approach to take, or if there is any other way I could try to do it without AJAX.


thanks in advance.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>