Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
Checkbox in WebDataTree control auto add item Infragistics.Web.UI.Framework.Data.DatasetNode
posted

Hi all,

I use Checkbox in WebDataTree as below:

this.webDataTree1.Nodes.Clear();
this.webDataTree1.DataSource = tb.DataSet;


DataTreeNodeBinding binding = new DataTreeNodeBinding();
binding.ValueField = tb.Columns["id"].ColumnName;
binding.TextField = tb.Columns["name"].ColumnName;

this.webDataTree1.DataBindings.Add(binding);


this.webDataTree1.DataMember = tb.TableName;
this.webDataTree1.DataBind();

this.webDataTree1.CheckBoxMode = Infragistics.Web.UI.CheckBoxMode.BiState;

But it got issue as picture below:

 

Please help me find solution for this issue.

Thanks you very much.

Ly