|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
asp:treeview, expand, index of nodeI am trying to figure out how to capture the index or a reference to a
asp:treeview node in asp.net 2.0 when the node is expanded. It appears that the sender object for the event handler is the treeview control. The problem is that a node being expanded or collapsed does not set the selectedNode in the control. Is there anyplace that the index of the node firing the event is stored? Sean Sean,
Selectaction property is in the treeview databindings collection set it to select or selectexpand. <asp:TreeNodeBinding DataMember="Category" TextField="Name" SelectAction="SelectExpand" ShowCheckBox="False" ToolTip="Select Category" /> Good Luck DWS Show quoteHide quote "sean.drex***@gmail.com" wrote: > I am trying to figure out how to capture the index or a reference to a > asp:treeview node in asp.net 2.0 when the node is expanded. It appears > that the sender object for the event handler is the treeview control. > The problem is that a node being expanded or collapsed does not set the > selectedNode in the control. Is there anyplace that the index of the > node firing the event is stored? > Sean > >
Child control designers
VS2005 ASP.NET Gridview cells Making ASP.NET 2.0 asp:Wizard control fully Navigatable without mo Defining a ControlParameter of type DateTime for a DataSource InsertItemTemplate dependant dropdown list problem Disable Validator through Client-Site code Dynamic Control Positioning CheckBox in repeater Newb...Treeview in asp System.Web.UI.Design namespace not found |
|||||||||||||||||||||||