Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive: See recursive
Message
 
À
05/01/2006 17:24:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01083365
Message ID:
01083853
Vues:
11
>Einar,
>I haven't yet worked with .Net TV so might not apply.
>
>treeNode.Id looks like node.key (unique) in Activex TV. If it's Activex one can do this:
>
>oNode = Tv.Nodes[cKey] or Tv.Nodes[iIndex]
>
>w/o a need to loop.
>Cetin

Id is acctually a property of my custom TreeNode class that inherits from System.Windows.Forms.TreeNode. From what I know there is no longer a tag property since you now can make your own custom treenode and add as many properties as you want so passing a tag value to some method that returns the correct node is gone. That is acctually what I am trying to reproduce. I think the fastest way to reproduce it is to use recursion.

I've got a solution that works great now (it is faster than a speeding bullet) but maybe I can squeeze another couple of milli-seconds out of it <s>

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform