Posted on: 11/7/2011 8:14:11 PM | Views : 244

When using a treeviw inside a ASP User control the tree is displayed but the control is usless because the checkboxes of the parent nodes doen't select or deselect the childs and the tree does not expand or close (if i use the expandAll method).
Here's my Controls code:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Drawing; namespace VentanasEmergentesASP { [DefaultProperty("Text")] [ToolboxData("<{0}:VentanaEmergente runat=server></{0}:VentanaEmergente>")] public class VentanaEmergente : WebControl { [Bindable(true)] [Category("Appearance")] [DefaultValue("")] [Localizable(true)] public string Title { get { String s = (String)ViewState["Title"]; ...

Go to the complete details ...