Checkbox Treeview within popup extender within update panelhttp://forums.asp.net/t/1798765.aspx/1?Checkbox+Treeview+within+popup+extender+within+update+panelThu, 03 May 2012 08:12:10 -040017987654959502http://forums.asp.net/p/1798765/4959502.aspx/1?Checkbox+Treeview+within+popup+extender+within+update+panelCheckbox Treeview within popup extender within update panel <p>Hi,</p> <p>My question is as follows:</p> <p>I have a page containing an update panel within which I've put a popup extender that contains a checkbox treeview. I need to load the treeview on a button click code behind (c#) which means the treeview items are not populated at pageload. Obviously because of the update panel, I get no page refresh when I click on the button to load the treeview (desired behaviour). However, this makes that ckeckboxs won't work very well, i.e. when a parent checkbox is ticked it should but it doesn't check all child checkboxes. This is because the javascript file that handles the checkbox behaviour cannot find items of the treeview since they weren't generated on pageload. As an example document.getElementById(nodeId) is null!</p> <p>I hope the description was clear.</p> <p>Thanks in advance for your help.</p> 2012-05-01T09:06:22-04:004961001http://forums.asp.net/p/1798765/4961001.aspx/1?Re+Checkbox+Treeview+within+popup+extender+within+update+panelRe: Checkbox Treeview within popup extender within update panel <p>Hi,</p> <p>Could you post the related code? So I may reproduce that on my side.</p> 2012-05-02T06:47:56-04:004962830http://forums.asp.net/p/1798765/4962830.aspx/1?Re+Checkbox+Treeview+within+popup+extender+within+update+panelRe: Checkbox Treeview within popup extender within update panel &lt;div sizcache=&quot;2&quot; sizset=&quot;21&quot;&gt; <p>According to AJAX Documentataion Treeview control is Compatible with UpdatePanel</p> <p><a href="http://www.asp.net/AJAX/Documentation/Live/overview/UpdatePanelOverview.aspx"><span color="#034efa" style="color:#034efa">http://www.asp.net/AJAX/Documentation/Live/overview/UpdatePanelOverview.aspx</span></a></p> <p>For more info</p> <p><a href="http://www.codeproject.com/KB/aspnet/TreeViewAjax.aspx"><span color="#034efa" style="color:#034efa">http://www.codeproject.com/KB/aspnet/TreeViewAjax.aspx</span></a></p> <p><a href="http://forums.asp.net/t/1294112.aspx"><span color="#034efa" style="color:#034efa">http://forums.asp.net/t/1294112.aspx</span></a></p> <p><a href="http://forums.asp.net/t/1117969.aspx">http://forums.asp.net/t/1117969.aspx</a></p> <p><a href="http://www.codeplex.com/ajaxtreeview/"><span color="#034efa" style="color:#034efa">http://www.codeplex.com/ajaxtreeview/</span></a></p> <p><a href="http://www.codeproject.com/KB/webforms/ClientSideTreeView.aspx"><span color="#034efa" style="color:#034efa">http://www.codeproject.com/KB/webforms/ClientSideTreeView.aspx</span></a></p> &lt;/div&gt; 2012-05-03T03:18:03-04:004963236http://forums.asp.net/p/1798765/4963236.aspx/1?Re+Checkbox+Treeview+within+popup+extender+within+update+panelRe: Checkbox Treeview within popup extender within update panel <p>Thanks for your reply,</p> <p>I found a js file that fixed my problem.</p> <p></p> 2012-05-03T08:12:10-04:00