von Infragistics - Produkttyp: Komponente / ASP.NET WebForms / ASP.NET AJAX (ATLAS) / Silverlight / 100% Managed Code / JavaScript / AJAX
New licenses of Infragistics NetAdvantage Web Client are no longer available. However, if you are an existing customer with a valid subscription you can continue to renew your subscription and receive updates, upgrades and new components to the ASP.NET and Silverlight Line of Business range of components.
If you are interested in new licenses of Infragistics NetAdvantage ASP.NET and/or Infragistics NetAdvantage Silverlight Line of Business please click the links below. You might also be interested in Infragistics NetAdvantage for .NET (a bundle of ASP.NET, Windows Forms, WPF Line of Business and Silverlight Line of Business components) and Infragistics NetAdvantage Ultimate (a bundle of ASP.NET, Windows Forms, WPF Line of Business, Silverlight Line of Business, WPF Data Visualization and Silverlight Data Visualization components).
NetAdvantage for ASP.NET
NetAdvantage for Silverlight Line of Business
NetAdvantage for .NET
NetAdvantage Ultimate
I'd like to know how to achieve iteration through UltraWebTree nodes in ASP.net (VB) code-behind
Something like this would be good, if only it worked to hide all childnodes for a specific selected node:
Dim n as Infragistics.WebUI.UltraWebNavigator.Node
For Each n In UltraWebTree1.Nodes
If n.level > UltraWebTree1.SeletedNodes.Level
.....
n.Hidden = true
.....
End If
next
Antworten
RE: Infragistics NetAdvantage for Web Client support@componentsource.com 02-Sep-2010 10:55:12
Hello there,
Thank you for using this Infragistics NetAdvantage for Web Client Forum here at ComponentSource.
I run your query with Infragistics and they sent the below answer for you:
===
The trees Nodes collection will only contain the root nodes, to loop through the child nodes, you would need to loop through the Nodes collection of a root tree node.
For example you could loop through all of the children of the first node with:
Dim n as Infragistics.WebUI.UltraWebNavigator.Node
For Each n In UltraWebTree1.Nodes(0).Nodes
If n.level > UltraWebTree1.SeletedNodes.Level
.....
n.Hidden = true
.....
End If
next
Note the only difference is in the For Each statement line.
Let me know if you have any questions with this matter.
===
I hope it helps.
Regards,
Enrique Perez
ComponentSource Support
Antworten

Hersteller
Primärkategorie
Zugehörige Produkte
Zugehörige Kategorien
ComponentSource bietet einen einzigartigen, globalen Service an, der weltweit von über 1.000.000 Entwicklern benutzt wird.