CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/19/2008 10:38:49 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 7 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Cyber-Drugs
Asp.Net User
Altering TreeNode Text Before/After Expand2/19/2008 10:38:49 AM

0/0

Hi all,

 I am populating a TreeView on the "OnTreeNodePopulate" event, from a Database. Sometimes there is a lot of data to populate in the TreeView (and sometimes the Database is just a bit slow). I wanted to know, how could I go about altering the TreeNode, which is expanding to change it's text before and after, it is being populated.

 Example:

Normal: [+]--MyTreeNode
Before Expand: [+]--[EXPANDING]
After Expand: [-]--MyTreeNode

Could anybody help me out here? I'm fairly new to ASP.NET, so I'm not too sure what to try.

Regards,
CD

Amanda Wang - M
Asp.Net User
Re: Altering TreeNode Text Before/After Expand2/21/2008 3:19:12 AM

0/0

Hi,

You can try to change the treenode's text in the TreeView's reeNodeExpanded or TreeNodeCollapsed event.

 

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
2 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

Novell Wins Five Info Security Products Guide Excellence Awa - novell ... Novell Wins Five Info Security Products Guide Excellence Awa, > ROOT > NEWSGROUP > Novell Forums > novell.support. ... altering treenode text before/after ...
codeverge.net/... We're Sorry, An Error Occurred While Processing The Request. ...
Novell Wins Five Info Security Products Guide Excellence Awa - novell ... Novell Wins Five Info Security Products Guide Excellence Awa, > ROOT > NEWSGROUP > Novell Forums > novell.support. ... altering treenode text before/after ...
Part 4: "More on Widgets" label Tab text. selected Preselect this tab after creation. closable Display ... Also the scripts evals before widgets is parsed and after html is inserted. ...
Inheritance vs. Composition So if you're not altering the real functionality to your superclass, you get ... you have more ability to optimize, before or after the fact - especially ...
Dotnet Framework (WinForms) [Archive] - HighTechTalks DotNet Forums updating TreeNode label (1 replies) Problem while adding text to the last column in listview. ... design for updating data after edit (0 replies) ...
TheMSsForum.com >> Winforms >> Archive Page 20 - The Microsoft Software ... ... to Windows Forms App After N Minutes of Inactivity ... 6802: Text-to-speech in Windows applications ... 6995: control change events altering other controls. ...
CodeProject: An All VB.NET Explorer Tree Control with ImageList ... ... ExpTree, it is done at every TreeNode expand, every select, and in several other ... Previous versions, before version 2, would throw an exception for unexpected ...
TheMSsForum.com >> VB >> Is user admin? - The Microsoft Software Forum I would like to expand and contract those categories to show or not to show the ... TreeNode Dim testCtr As Integer If e.Node.Nodes.Count = 1 Then If e.Node.Text ...
My subscriptions | The Dojo Toolkit Creating and Rendering a Template in Plain Text [book] ... A Tab does not highlight after it was selected in IE [forum] ... Altering the style of Dojo ...
Fix Up Your HTML with HTML Tidy and .NET ... executable by W3C employee Dave Raggett, before being taken over as an open ... empty paragraphs, removing duplicate attributes, or inlining blocks of text. ...
Web Solution: C Language Help, C Language Tutorials, C Language ... In the constructor of the zzz class, we have initialized a member called Text to ... The user enjoys the flexibility of altering the size. of the window at run time. ...



 
All Times Are GMT