Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:768264
More Search Options
RSS Available
Matching Posts
Re: ASP.NET 2.0 Treeview Autopostback
I'm guessing you've found a solution to this problem by now, but I've put together a javascript may help you. On a right click event it will grab the Tree Node value, put it in a hidden field for a post back later, and highlight the node. VS 2005 doesn't like it, but disable the normal context menu and add the "oncontextmenu" attribute inside the treeview tag as follows: < asp : TreeView oncontextmenu ="TreeView1_ContextMenu()" > </ asp : TreeView >
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
bsharp3
on 12/21/2007
Re: Looping through TreeView Nodes?
Here's a couple of subs I put together to loop through all treenodes. I had to loop through the tree for a node with a specific value to select and expand it. hope this helps. Private Sub RecurseNodes( ByVal searchValue As Integer ) For Each tn As TreeNode In TreeView1.Nodes If tn.Value = searchValue Then tn.Expand() tn.Select() Exit For End If If tn.ChildNodes.Count > 0 Then For Each cTn As TreeNode In tn.ChildNodes recurseChildren(cTn, searchValue) Next End If Next End Sub Private Sub recurseChildren
Posted to
Internet Explorer Web Controls
(Forum)
by
bsharp3
on 11/9/2007
Page 1 of 1 (2 items)
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online