| Dim rs As SqlDataReader = something |
| Dim dt As New DataTable |
| dt.Load(rs) |
| RadTreeView1.DataSource = dt |
| RadTreeView1.DataTextField = dt.Columns("descriptions").ToString |
| RadTreeView1.DataValueField = dt.Columns("sections").ToString |
| RadTreeView1.DataBind() |
| RadTreeView1.SelectedNode.Value = "somthing" always tells me that object reference is nothing can you tell me why or how do i set it to select the first value in the tree view. also if the first node in treeview is expandable, how do i expand it and then select the first child node in that parent node. thank you |
| RadTreeView1.SelectedNode.Value = "somthing" always tells me that object reference is nothing can you tell me why or how do i set it to select the first value in the tree view. also if the first node in treeview is expandable, how do i expand it and then select the first child node in that parent node. thank you |