Search
Asp.Net Treeview with Drag and Drop-Help
Started by skadoo at 03-02-2008 8:38 PM. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  03-02-2008, 8:38 PM
skadoo is not online. Last active: 3/21/2008 12:59:45 PM skadoo

Top 75 Posts
Joined on 11-06-2006
Posts 1
Asp.Net Treeview with Drag and Drop-Help
Reply Quote
Does anyone know how to extend asp:treeview to add Drag and Drop ablities? Everything I have found so far with Drag and Drop  are Window.Form  controls not Web  control or third party controls that need to purchased. The idea is to use native controls, we are currently using Component Art controls and want to convert to Ajax/Asp.Net controls.

Thank you in advance for any assistance.

Scott

   Report 
  03-24-2008, 12:32 AM
leblanc is not online. Last active: 5/9/2008 4:06:42 PM leblanc

Top 10 Posts
Joined on 01-07-2008
Posts 15
Re: Asp.Net Treeview with Drag and Drop-Help
Reply Quote
go to https://administrator.robusthaven.com
and login as:
username: test
password: test

by the way i'm hosting from home so its a lil slow, also you'll be my first tester : ]

i'll keep the account open for a while

its not drag and drop but it lets you move a node to a different parent.  [use firefox]

a full drag and drop system all 'li' elements in the unordered list tree will need
onmouseover=responsiveui    use stopPropagation(e)
onmousedown=drag  onmouseup=drop
i would use the yui to capture mouse events and use stopPropagation(e) so parent li elements aren't affected when onmouseover


I haven't implemented the full drag and drop yet but you can see what i got so far.
Its strongly coupled to postgresql at the moment [no abstraction yet].  Currently uses Adjacency List, I'm working on nested set for hierarchical data [abstraction in place].

The idea is you drag a view: TreeCheckBox, TreeLinks, TreeSelectBox .....
You attach a provider which is defined in my tree configuration section in web.config and magically renders the tree for you.

About a week of work.

leblanc meneses
http://www.mixhacks.com

   Report 
Post
CRINETA » .NET Discussion... » General .NET Di... » Asp.Net Treeview with Drag and Drop-Help

Copyright Cedar Rapids INETA, 2005 All rights reserved.

Powered by Community Server, by Telligent Systems