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

[Solved] PersistLoadOnDemandNodes and Drag'n'drop

2 Answers 127 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
PNR
Top achievements
Rank 1
PNR asked on 19 Jun 2008, 12:22 PM
HI!

Ive been rewritten a 2 treeview page where the user drags from on tree to another.. and after using serversidecallback it just flies...

BUT.. when using PersistLoadOnDemandNodes="false" the SourceDragNode always returns null ?


bonus question.. not life or death
also, is it a bug that when using the serversidecallback i have to switch the Radtreenode to clientside if I have to avoid it duplication the just added child node when i collapse/expanded it again ?


Kind Regards
Kenneth Christensen

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 23 Jun 2008, 11:17 AM
Hi Kenneth Christensen,

PersistLoadOnDemandNodes should be set to true if you need to drag and drop any nodes populated via load on demand. As a workaround you can implement client-side drag and drop as demonstrated in this online example.

Unfortunately I cannot understand your second question. Normally a node should not trigger load on demand request once it has been populated. Could you please clarify? Thanks.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
PNR
Top achievements
Rank 1
answered on 24 Jun 2008, 06:00 AM
Hi!

Regarding the bonus question, I did some rewritting of the code, and now it works.. so no worries :)

Thanx for your help

Regards
Kenneth Christensen
Tags
TreeView
Asked by
PNR
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
PNR
Top achievements
Rank 1
Share this question
or