S
Schoo
I am successfully using the Microsoft.Web.UI.WebControls.dll but I can't get
the treeview control to run code when a node is selected. I read the msdn
online documentation and am doing this with code-behind in VB. Here is the
code that I am using:
===========================================
<ie:treeview runat="server" id="treeview1"
onselectedindexchanged="SelectedIndexChanged">
<ie:treenode ..../>
</ie.treeview>
Public sub SelectedIndexChanged(ByVal sender As Object, ByVal e As
TreeViewSelectEventArgs)
Label1.Text = "Selected " + e.NewNode.ToString + " (old Node index=" +
e.OldNode.ToString + ")"
End Sub
============================================
I need to fill a grid dynamically as a user clicks on an item. So, I need
an event that will respond and a way to use a key field so I can use that
information to pass to the grid. Any ideas or samples would be appreciated.
Scott
the treeview control to run code when a node is selected. I read the msdn
online documentation and am doing this with code-behind in VB. Here is the
code that I am using:
===========================================
<ie:treeview runat="server" id="treeview1"
onselectedindexchanged="SelectedIndexChanged">
<ie:treenode ..../>
</ie.treeview>
Public sub SelectedIndexChanged(ByVal sender As Object, ByVal e As
TreeViewSelectEventArgs)
Label1.Text = "Selected " + e.NewNode.ToString + " (old Node index=" +
e.OldNode.ToString + ")"
End Sub
============================================
I need to fill a grid dynamically as a user clicks on an item. So, I need
an event that will respond and a way to use a key field so I can use that
information to pass to the grid. Any ideas or samples would be appreciated.
Scott