This is a migrated thread and some comments may be shown as answers.

Drop n Drag DGrid to TView

0 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Neal
Top achievements
Rank 1
Neal asked on 16 Apr 2008, 11:27 AM
Re:  The Original Soln, Danny Pronk ..Very Very Nice, Thx Man!!

Now for Probably a bite more than I can chew.
(I need to use it as a File/Folder Explorer,..with physical filecopy or folder (incl files) copy between Servers..So some fso wil be required, but that is not the challenge)

Having had a look at the Grid to Grid Example, with the Overrides Sub RaisePostBackEvent  (but in C#) + its js  (UserControl being the primary reason)
 and then the  The Tree to Tree to Grid Example..

So,.. for an interesting way to learn about EventArgs, JS and drag n drop, (plus hopefully still implementing the Context menus...maybe best done later ).

Would the following be workable??? (using VS2005 and T ctls vers.Q4 2006)

using and amending the js as per the Grid to Grid Example, but defining the dest as a treeview ctl, then implementing the
C# code as per the HandleDrop in the tree to tree example
(either dragging or using the context menu..) Overriding the PostBack, and implementing the drop from there to the treeview,incl positioning the node as per that example.

Arg Structure (delimited) to show the Dest TV Node++ and
Src args as SourceCtl (check a row was selected) , Source's Row+cols (name type Size DateModified).


I guess the TV specific eventarg[s] .  would somehow have to include data (destnode  + position) , and  be cast back from string as per the Grid toGrid example, to RadTreeNodeEventArgs.
Any thoughts help pointers (documented code) :)  would be very welcome.


Neal

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Neal
Top achievements
Rank 1
Share this question
or