DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 8 Aug 2007 09:53:11 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Homer J. Simpson
          2    Homer J. Simpson
                 3    Homer J. Simpson


TreeView - re-ordering nodes client-side   
Hi all,

I'm relatively new to C#/ASP.NET 2.0 (or any .NET for that matter).  I've 
spent a few weeks working with server-side controls, but I've yet to do 
anything client-side.  I've now reached the point where I need to start 
doing just this.

For one, I have tree control (programmatically populated from a hierarchical 
table) for which I'd like to give the user the ability to drag and drop 
nodes.  Essentially, reassign a different parent to a node, and redraw the 
tree.

Where can I find a good discussion that covers this?  I'm not quite getting 
the right Google search keywords.
Date:Wed, 8 Aug 2007 09:53:11 -0400   Author:  

Re: TreeView - re-ordering nodes client-side   
....forgot to mention:  I'm not quite ready yet to Ajaxify everything "just 
because I can".
Date:Wed, 8 Aug 2007 09:56:07 -0400   Author:  

Re: TreeView - re-ordering nodes client-side   

> ...forgot to mention:  I'm not quite ready yet to Ajaxify everything "just 
> because I can".


Ok.  I'm still not willing to go all Ajax, but is there any discussion 
anywhere on manipulating the treeview client-side?  I want to detect a click 
on a node, and a drop on another node.  I'd love to see something that 
discusses how the nodes can be identified client-side and wire up the 
appropriate events...

My nodes already have a unique value stored in TreeNode.Value, so really, 
it's just a matter of setting up a server postback and providing the values 
of the two nodes involved--I can work out the parent reassignment code 
server-side easily enough.
Date:Tue, 14 Aug 2007 11:25:14 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us