CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/13/2005 7:48:02 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 10 Views: 50 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
11 Items, 1 Pages 1 |< << Go >> >|
j_gaylord
Asp.Net User
Expanded Node Style in TreeView Control5/13/2005 7:48:02 PM

0/0

Is there an expanded node style? I can't seem to find it. I would think there would be.
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
jdixon
Asp.Net User
Re: Expanded Node Style in TreeView Control5/13/2005 10:25:49 PM

0/0

No. I would think you could handle expand\collapse events and work up a state managment system without too much hassle.

 

JD


This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
j_gaylord
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 3:59:05 PM

0/0

So how do the built-in TreeView themes convert the bullet image from one image to another when a node is expanded? For example, a closed folder to an open folder.
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
jdixon
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 4:13:46 PM

0/0

The node state is checked and the correct image is applied\code is rendered to display the image. We do have support for having your own images for these node states (base level props on the tree).

 

HTH


JD


This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
j_gaylord
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 5:17:48 PM

0/0

I know how to add my own images for the node states, but how can I for the "expanded" state?
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
jdixon
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 5:27:34 PM

0/0

Not sure I understand the diff, what are you trying to accomplish (that might help me).

 

Thanks


JD


This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
j_gaylord
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 5:58:59 PM

0/0

I'm trying to set the ImageUrl of all of my nodes (accomplished using NodeStyle). When one of these nodes are expanded, I want to implement a different style/ImageUrl for the node that was expanded.
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
jdixon
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 6:15:53 PM

0/0

Don't really have a solution for you on this. You could try to extend the TreeNode - and before rendering check the node state - and adjust the pre\post rendering of the node to accomplish some things (not the images though - those are global to the tree).

 

I would suggest that you enter a bug and we can consider this for our next version.

 

John Dixon


This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
j_gaylord
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 7:09:42 PM

0/0

Will do. Thanks!
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
j_gaylord
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 7:16:54 PM

0/0

I added it here: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK27127.
Jason N. Gaylord
ASPInsider and Microsoft MVP
http://jasongaylord.com
jdixon
Asp.Net User
Re: Expanded Node Style in TreeView Control5/16/2005 11:10:01 PM

0/0

You mention skin files for the images are not working - that works for me - what problem are you seeing? Can you post your skin and the code?
This posting is provided "AS IS" with no warranties, and confers no rights.
We Are Hiring
11 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
F. Scott Barker's Microsoft Access 2000 Power Programming Authors: F. Scott Barker, Pages: 1368, Published: 1999
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007
F. Scott Barker's Access 2002 Power Programming Authors: F. Scott Barker, Pages: 960, Published: 2001

Web:
YUI Library Examples: TreeView Control: Dynamically Loading Node Data YUI Library Examples: TreeView Control: Dynamically Loading Node Data ... The first (default) style maintains the expand/collapse icon style even when the ...
ASPNET TreeView Expanded Node Style - Stack Overflow Net's TreeView control, to have a custom style applied to an Expanded node? I have many root nodes and want the Expanded nodes to have a different ...
Using Images with the TreeView Control Images Used in the TreeView Control. The visual elements of a TreeView control include the following:. Collapsed node images. Expanded node images ...
vbAccelerator - vbAccelerator TreeView Control TreeView control with Number and History styles applied ... in the standard TreeView you have to add a dummy item to the node to allow it to be expanded, ...
Treeview control determining if node expanded or selected Treeview control determining if node expanded or selected ... Change style of Edit-button in GridView? Hidden column in datagrid ...
eVB Treeview control and ImageList control. What we are going to cover is how to add a node to a TreeView control, ... Also, when a user has expanded a node that has children, for example, ...
Yahoo! UI Library: TreeView The TreeView Control supports event callbacks for when a node is expanded or collapsed. The callback function gets a reference to the node that was ...
Visual Basic Controls in a Nutshell: Chapter 5, Controls, TreeView ... The TreeView control is a hierarchical list of related Node objects. The user can expand and collapse these node families easily while navigating through ...
Expand Active Node in TreeView Control on page load - ASP.NET Forums How do I make my TreeView expand the node that contains the selected node? Is there a control property for this or do I need to do this ...
WorldofASP.NET: Navigate hierarchical site data with ASP.NET ... Oct 7, 2008 ... Add the Style to the TreeView Control. The TreeView control provides ImageUrl .... Expand; node.ChildNodes.Add(newNode); } } } public void ...




Search This Site:










proper aproch for good web designing - need opinions

master page translation on different browsers.

performance of using nested master pages.

master page question

menu options visible to all after adding roles in sitemap

contentplaceholder alignment

want to create menu within menu dynamic..pls help with code

redirect atomz search result to a page based on a master page

dynamicaly adding nodes to sitemap

i'm having a helluva time registering a custom sitemap provider.

how shoul i transfer value to a contentplaceholder.

templated menuitem & postback

master page, menu and postback

load xmlsitemap from stream?

master page

disable asp:menu items

how to run see web site made on visual web developer 2005

javascript and treeview_togglenode

navigation ctrls in .net 2003 [is possible?]

path mapping problem to app_themes and master pages (due to the page starting in subdirectories?)

datagrid problem with master pages

write sitemap and write xml

using menu as site navigation

unable to access property from master page

masterpage/menu - content page getting cut off in firefox

treeview

masterpage

getting at xml in navigation control through c#

simple page_load question

flatten combobox

  Privacy | Contact Us
All Times Are GMT