IIS ASP - handling tree view web control events

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2004 > handling tree view web control events





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author handling tree view web control events
Rea Peleg

2004-06-02, 7:53 am

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




Aaron [SQL Server MVP]

2004-06-02, 11:01 am

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


A better place for this question would be in an asp.net newsgroup.
http://www.aspfaq.com/5002


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com