handling tree view web control events

R

Rea Peleg

Hi everybody
Can any one give an example for handling a tree view
web control event, inside an asp.net application?

I am able to build a tree view using this control on an asp.net web form (on
page load) but can not handle its events later on..

html tag includes the reference to the event handler and looks like this:
<iewc:treeview1 id="treeview1" runat="server" Expand = "treeview1_expand">

then the aspx.vb file includes the treeview1_expand() code:
Public Sub TreeView1_Expand(ByVal sender As Object, ByVal e As
Microsoft.Web.UI.WebControls.TreeViewClickEventArgs) Handles
TreeView1.Expand

this file also includes a withevents declaration for treeview1.



Thanks for your attention

Rea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top