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

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/20/2008 11:56:20 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
l0n3i200n
Asp.Net User
Next and back buttons in a treeview3/20/2008 11:56:20 AM

0/0

Hi all I have a treeview with multiple levels and would like to know how to build move next and previous buttons to navigate thru the treeview.

Any help would be great.

 thanks

l0n3i200n

Amanda Wang - M
Asp.Net User
Re: Next and back buttons in a treeview3/24/2008 3:41:58 AM

0/0

Hi l0n3i200n,

l0n3i200n:
would like to know how to build move next and previous buttons to navigate thru the treeview.

We could not get your requirment  exactly, do you want to add button on the treeview's nodes? Could you please post some details or some "for instance"?

 


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
l0n3i200n
Asp.Net User
Re: Next and back buttons in a treeview3/25/2008 4:47:42 AM

0/0

I have a treeview in a panel on the left and in the right I'm displaying the info of the treenode. I want the user to be able to click on the  [Next >>] or [<<Previous] buttons I plan to place in the bottom right hand corner of the right panel. These buttons should then either move the selected node to the next or previous node without clicking on the tree. Also the nodes have about at most 3 levels each.

 Please let me know it it makes sense.Smile

Amanda Wang - M
Asp.Net User
Re: Next and back buttons in a treeview3/25/2008 5:53:49 AM

0/0

Hi,

let's make some clarification: you added the [Next>>] and [<<Preview] buttons to the bottom of the right panel.

But when you click on the [<<preview] button, you want to show the information of the parent node of the current node? or the previous node of the current node?

And when you click on the [Next>>] button, what you do you want to display? the clildnode of the current node or the other nodes that are at the same level of the current node?


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
l0n3i200n
Asp.Net User
Re: Next and back buttons in a treeview3/25/2008 7:38:43 AM

0/0

Correct when I click [<<previous] and the node is the 1st node under the parent, it should then show the parent, else it should just move one above itself. When I click next it needs to display then next node in the same level ( going down the tree). Or if it is at the end of a leaf node it should then move down to the next parent node. ( movement next = down the tree, and movement previously is up the tree)

 

Amanda Wang - M
Asp.Net User
Re: Next and back buttons in a treeview3/25/2008 9:09:00 AM

0/0

Hi,

Ok, you can try to retrieval the treenodes according to the current node.

l0n3i200n:
when I click [<<previous] and the node is the 1st node under the parent, it should then show the parent, else it should just move one above itself.

When you click on the  [<<previous]  button, you can find the parent node of the currentnode, if its parentnode is null, display itself.

l0n3i200n:
When I click next it needs to display then next node in the same level ( going down the tree). Or if it is at the end of a leaf node it should then move down to the next parent node.

When you click on the [Next>>] button, try to retrieval the childnodes of the current node's parent node, if the current node is last leaf node, you can try to find the  brother node of current node's parentnode.

You can use the findnode method to retrieve the TreeNode object in the TreeView control at the specified value path. you can refer his msdn article: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.treeview.findnode.aspx

 

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
l0n3i200n
Asp.Net User
Re: Next and back buttons in a treeview3/25/2008 9:51:50 AM

0/0

Thanks for the help Amanda, will try it out and post my findings as soon as I'm done trying the above solution.

 

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


Free Download:

Books:
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005
Pro SQL Server 2005 Reporting Services Authors: Rodney Landrum, Walter J. Voytek, II, Walter J. Voytek, Pages: 374, Published: 2005
What's New in Visual FoxPro 7.0 Authors: Tamar E. Granor, Doug Hennig, Kevin McNeish, Alex Wieder, Calvin Hsia, Pages: 262, Published: 2001
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
Data Entry and Validation with C# and VB .NET Windows Forms Authors: Nick Symmonds, Pages: 768, Published: 2003
Writing Add-ins for Visual Studio .NET Authors: Les Smith, Pages: 523, Published: 2002
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
Programming Visual Basic 2005 Authors: Jesse Liberty, Pages: 548, Published: 2005
Mastering Visual Basic.NET Authors: Evangelos Petroutsos, Pages: 1153, Published: 2002

Web:
Next and back buttons in a treeview - ASP.NET Forums Re: Next and back buttons in a treeview. 03-23-2008, 11:41 PM. Contact ... Re: Next and back buttons in a treeview. 03-25-2008, 12:47 AM ...
Treeview Control ! How to WALK it ! - VB.NET So you see its a simple treeview I also have a NEXT button and a BACK button. When a user clicks the NEXT button, the selected node and its children should ...
vbCity/DevCity.NET Forums :: .NET :: .NET Newbies :: tree view ... #41 Re: tree view problem....Plz Help me .... through these next and back buttons i have not go to each time to form 1. ...
Treeview Toolbar Changes in Version 3.8 the Go button. See next page for some examples. Home – moves up to the next main . folder in the tree, e.g.,. Participants, Workgroup, Case. Treeview ...
How to - Walk the TreeView [Archive] - DevX.com Forums Has anyone developed VB code to 'walk' a TreeView? I want to be able to click a 'Back' and 'Next' button to move backward and ...
InformIT: Designing GUI Applications with Windows Forms > Using ... This property determines whether plus-sign and minus-sign buttons are displayed ... Next, select the TreeView control. If you have configured an ImageList ...
Why is my asp:TreeView selected node reset when in an UpdatePanel ... The selected node of the treeview seems to remember the previously selected node and the buttons act on this node. So the behaviour of the previous/next ...
Menu View We can use the Next and Back buttons to see in details the evaluation step-by- step. ... The Graphical Tree View is a means for drawing of tree structures ...
BUG: TreeView: NodeCheck Event Does Not Occur When a TreeView control with the Checkboxes property set to True is placed on a ... Expanded = True Next i End Sub Private Sub TreeView1_MouseDown(Button As ...
ui:overview [ThunarWiki] The tree view pane must be connected to the icon/list view and show only directories and devices ... Next and Back buttons seem to be common as well. ...




Search This Site:










question about scottgu web application projects tutorial 4: data binding against objects

links module - enhanced

writing a custom login module

global theme

updating records in an acess database

rounding up numbers

when i upload an image file is there is a way to find the width and height of that file?

problem passing txtmytextbox.text to event handler

sitemappath

login control formatting question

where is my compiled dll

gridview delete rows

adding dynamic menu

md5 hash in hex

how to rearrange the page in browser

web compilation advantages?

custom modules

destroy page

flicker problem on menu items

sig presentation

trouble adding c# code

treeview control

creating folders

passing csv collected from datagrid to javascript function to pop up page

gridview error

password recovery in clear text, please!

theme design tools

executing another application through aspx

completing orcas beta 1 installation

registering visual web developer express beta 2

 
All Times Are GMT