CodeVerge.Net Beta


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

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/10/2007 11:49:01 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 49 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
wraith10
Asp.Net User
TreeView - SelectedNodeStyle1/10/2007 11:49:01 PM

0/0

I have a ASP.NET TreeView control which I set to dynamically populate all children. I have the ExpandDepth set to 1 so that the root node and all its 1st level children are visible (expanded) on initial display. Everything works fine except the TreeView.SelecetdNodeStyle property. It seems that only the nodes that are initially loaded will have the SelectedNodeStyle applied. All the other dynamically populated children (from ExpandDepth 2 and below) does not have the style applied.

So when I click on one of the 2nd-level links, although the link gets executed, the node does not appear to be selected. ie. The selected-style is still shown on a previously selected root or 1st level node.

So how do I make the SelectedNodeStyle applied to all the rest of the nodes as well?

P.S. None of the links in the treeview does a post-back. All the links are simply based on TreeNode.NavigateUrl with the TreeNode.Target set to a different frame.


Thanks,
Lee
 

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


Free Download:

Books:
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Core Internet Application Development with ASP.NET 2.0 Authors: Randy Connolly, Pages: 1049, Published: 2007
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
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
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005

Web:
TreeView.SelectedNodeStyle Property (System.Web.UI.WebControls) Use the SelectedNodeStyle property to control the appearance of the selected node in the TreeView control. This property is read-only; however, ...
Treeview SelectedNodeStyle Problem Treeview SelectedNodeStyle Problem. microsoft.public.dotnet.framework.aspnet. webcontrols. Author. 3 Jul 2006 6:22 PM ...
ASP.NET Treeview selectedNodeStyle - .NET ASP ASP.NET Treeview selectedNodeStyle. Get answers to your questions in our .NET ASP forum.
ASP.NET Treeview selectedNodeStyle Talk about ASP.NET Treeview selectedNodeStyle. ... NET Treeview selectedNodeStyle. Hi, I use the selectednodestyle with a white background ...
TreeView.SelectedNodeStyle Property (System.Web.UI.WebControls) Gets the TreeNodeStyle object that controls the appearance of the selected node in the TreeView control.
How to apply SelectedNodeStyle in Treeview - ASP.NET Forums I want to style the Current Node to look DIFFERENT, but it seems that SELECTEDNODESTYLE is ignored for items with a NavigateURL. ...
ASP.NET 2.0 Treeview SelectedNodeStyle Problem I use treeview inside a frame so when a tree node is ... selectednodeStyle with BackColor=
ASP.NET Treeview selectedNodeStyle NET Treeview selectedNodeStyle. microsoft.public.dotnet.framework.aspnet. Author . 14 Apr 2006 3:01 PM. [email protected] ...
TreeView.SelectedNodeStyle Property Use the SelectedNodeStyle property to specify the appearance of the selected node in a TreeView control. Common style attributes that can be set include ...
TheMSsForum.com >> Asp >> ASP.NET Treeview selectedNodeStyle - The ... I want to use an aspx to post data to a 2nd webserver but i don't know how. Both aspx, both asp.net v2 ? Tag: ASP.NET Treeview selectedNodeStyle Tag: 407923 ...




Search This Site:










create a suggestion feature

another menu/sitemap question

back button

menu control and sitemap

dynamic masterpages and themes

nested master pages blues

error: content controls are allowed only in content page that references a master page.

custom attribute to sitemap datasource

master pages and vs.net 2003

master page - content place holder top margin

master page and java script

dynamically create sitemapproviders

themes again :)

menu control appearance

what's the wrong with master page and postback ?

tree view, saving state & using node links as expand and collapse

sitemappath and self joined table

updating a pic on a content?

searching treeview

programaticaly expand a tree

masterpage - contentplaceholder and tables

how to access the content page control events in masterpage' s javascipt

linking menu controls

how can i access a treeview node from other event handlers?

addnode not working when url is empty

sitemapnode problem

printing in master pages

treenode text color

asp.net menu

.net 2.0 menu control problem

  Privacy | Contact Us
All Times Are GMT