I want to hide some columns of the table I received from Excel on RadGridView.
Good Evening , As per your suggestions i make my custom treeview node with LiteVisualElements .
In That Node i have taken one StackLayoutElement and RoundRectShape assigned to it but still panel shows corners instead of round edges,
i tried with different properties and styles but not get succeed , so please help me out.
here i have attached image of my node and "stackLayoutElement" code too.spnlControls = new StackLayoutElement();
I have made User control for custom node, in this user control i have used following controls
1 RadLabel (no of control - 3)
2 RadPanel (no of control -1)
3 PictureBox (no of Control - 4 )
4 TableLayoutPanel (no of control -3)
Means i have used total 11 controls within my user control.
Height of usercontrol = 146
Width of Usercontrol = 595
I have taken RadTreeView and above UserControl added as Node,following properties of treeview is set
this.radTreeView1.DataSource = Staff.GetStaff();
this.radTreeView1.ParentMember = "ParentID";
this.radTreeView1.ChildMember = "ID";
this.radTreeView1.DisplayMember = "Department";
this.radTreeView1.CreateNodeElement += this.OnCreateNodeElement;
this.radTreeView1.TreeViewElement.AutoSizeItems = true;
this.radTreeView1.ShowRootLines = false;
this.radTreeView1.FullRowSelect = false;
this.radTreeView1.ShowLines = true;
this.radTreeView1.LineStyle = TreeLineStyle.Solid;
this.radTreeView1.LineColor = Color.FromArgb(110, 153, 210);
this.radTreeView1.TreeIndent = 50;
But when i run the code it shows like this means my control is not displaying and the property "AutoSizeItems" is not working.
hope for quick reply
Note:- I am using Bound RadTreeview. Bound with DataSource.
1 Take RadTreeview
2 Add Few nodes Like:
3 Now Drag Node B and Drop it in Node C (As Node C's Child)
4 It throw Exception Error Msg "Collection was modified; enumeration operation may not execute."
5 Now Try to Drag Node E and Drop it in Node B, again same error occurs
6 Full error screen i attached here.
Please reply as soon as possible.