CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.internet_explorer_web_controls Tags:
Item Type: NewsGroup Date Entered: 12/9/2003 4:34:16 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 154 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
chris vandecave
Asp.Net User
Dynamically build the tree12/9/2003 4:34:16 PM

0

hi all,

I'm just wondering... The treenode has a TreeNodeSrc attrib that doesn't seem to do anything. Putting the same source on the TreeView itself works fine.

I am using an aspx page to return the nodes to populate, like this
TreeNodeSrc="TreeNodeSource.aspx?group=admins"

I read the msdn article http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/treeview.asp

and found:
<quote>

When building a TreeView with multiple XML files, all of the databound nodes of the tree are not loaded at once. When the TreeNodeSrc property is set for a TreeNode element, the contents of the node aren't actually bound to the XML source until the node is expanded.

When binding the TreeView element to a data source, it fetches the XML source data for all of its root nodes. If those root nodes also have TreeNodeSrc attributes, those attributes are ignored until the user expands a root node. At that point, the expanded node is bound to its data source, and its children are downloaded and rendered. It is possible, therefore, to dynamically bind a node's children to an XML source if, when the parent generates the XML for its children, the XML contains the TreeNodeSrc used by the child element to data bind.

A node's TreeNodeSrc property is ignored until the node is first expanded. The TreeNodeSrc attribute can be modified dynamically before a node is expanded. When the node is expanded for the first time, it binds to whatever XML data its current TreeNodeSrc points to.

<End of quote>

It doesn't seem to happen with my control though, only the treeview seems to accept a TreeNodeSrc but not the Root nodes. Am I missing something or is there something wrong in the control ?

Greetings
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Essential XUL programming Authors: Vaughn Bullard, Kevin T. Smith, Michael C. Daconta, Pages: 418, Published: 2001
The Only Three Questions that Count: Investing by Knowing what Others Don't Authors: Kenneth L. Fisher, Jennifer Chou, Lara W. Hoffmans, James J. (FRW) Cramer, Pages: 448, Published: 2006
Fuzzy systems and knowledge discovery: second international conference, FSKD 2005, Changsha, China, August 27-29, 2005 : proceedings Authors: Lipo Wang, Yaochu Jin, Pages: 1334, Published: 2005
Oracle Database 11g PL/SQL Programming Authors: Michael McLaughlin, Pages: 835, Published: 2008
Handbook of Child Psychology: Theoretical models of human development / volume editor, Richard M. Lerner Authors: William Damon, Richard M. Lerner, Pages: 1063, Published: 2006

Web:
How to Build a Dynamic Tree with Dojo,DWR,Spring and Hibernate - a ... As you see in the snapshot, we are building a tree from some kind of struture in the database tables. Since the tree data is...
How to: Use Expression Trees to Build Dynamic Queries This topic describes how to use expression trees to create dynamic LINQ queries. Dynamic queries are useful when the specifics of a query are not known at ...
CodeProject: Building a dynamic Tree. Free source code and ... Sep 22, 2007 ... You want to buid a dynamic menu!? You can use recursive algorithm to solve this. ; Author: Ng. Anh Vu; Section: Miscellaneous; ...
Build dynamic context menus for trees - bytes Hi Ron, Try something like this... First of all, when creating the nodes, attach the contextmenustrip to the nodes ContextMenuStrip.
Dynamically build the tree - ASP.NET Forums When building a TreeView with multiple XML files, all of the databound nodes of the tree are not loaded at once. ...

Can I dynamically skin a master page? - ng.asp-net-forum ... I have a nested master page on which I have three link buttons I'm using for ... Typically we'll need to build the script dynamically using ...
treeView dynamic data source - ng.asp-net-forum ... treeView dynamic data source, > ROOT > NEWSGROUP > Asp.Net Forum ... Build a TreeView Control in Less Than Two Minutes with Visual . ... Dynamic Bind Of Data Tree View Control : dhtmlxTree :: JavaScript . ...
Dynamically Populating treeview from database for N levels - ng ... NET articles, videos, podcasts and more! ... coming from the database we have to build the TreeNodes and the corresponding ChildNodes dynamically. ...
Dynamically change number of tabs on tabstrip - ng.asp-net-forum ... I've managed to dynamically add a pageview, but I still need to add a tab at the .... unbearable problem with tree control (microsoft.web.ui.webcontrols) ...
Dynamic Menu Help - ng.asp-net-forum ... Re: Dynamic tree menu - help. I've just created a Spry Menu using a slightly ... Dynamic menu... Help! - Ext JS Forums I am trying to build a menu (with ...

Videos:
Kabbalah, the Tree of Life topologically explained The central picture in Kabbalah is the Tree of Life containing 10 sefirot and 22 paths. This design was derived from concentric circles (The Bahir ...
Brain Exercises to Build Strong Mental Fitness http://www.dynamicmentalfitness.com explains how with Dynamic Mental Fitness and specific brain exercises you will be able to build upon the three ...
Dynamic Tower: 3D Animation Video The Dynamic Tower design is made up of 80 pre-fabricated apartments which will spin independently of one another. "It's the first building that ...
Dynamic Architecture The Dynamic Tower design is made up of 80 pre-fabricated apartments which will spin independently of one another. "It's the first building that ...
Yoga Poses, Yoga Videos: Warrior Poses http://www.yogabodynaturals.com – Flexibility made easy. Yoga teacher reveals stretching flexibility secrets in a free, 7-day email course ...






3.0.8 issue: portal specific localization not working properly

asp form call

more roles + functionality required...without code tweaks

help with adding a javascript confirm box on page load

authentication problem

3.0.9 enh: page names disallow special characters

announcement module

posting bugs for dnn 2.0.3

dynecomp flash menu

using ms access

(dnn 2.0.3) sign up/register form didnt show on online site

css skinning tutorial

xml issue on host site (the root element is missing)

parser error when attempting to logout

your permissions do not allow you do create directories !!

main menu css class

mapquest module in dnn 2.1.2

i need help with the isearchable

dnn 3.05 issue [search] skin tag

conditional login error message display?

need help on iframe

error in admin >>> site settings

how to remove this

accessing hidden input fields on user controls

re-index db v2.1.2

how to get to the access database with aspx file?

parameters from dnn menu

dnn2 and asp.net forums integration?

solpartmenu - newb primer ? - ascx and css - long post

stored procedure 'getfiles' missing

   
  Privacy | Contact Us
All Times Are GMT