We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

drag drop TreeView

Thread ID:

Created:

Updated:

Platform:

Replies:

50313 Oct 10,2006 11:12 AM UTC Jan 17,2008 11:44 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Sandeep
Asked On October 10, 2006 11:12 AM UTC



Hi,
I am working with the drag drop functinality fo the TreeView.
After dropping the node I want to check if the node I am dropping is right/wrong. If it is right not then no problem, but if it is wrong node then I want to cancel the process means I wont allow to drop the node. Is there any way I can handle this functionality?

Thanks,
Sandeep

Administrator [Syncfusion]
Replied On October 11, 2006 11:59 AM UTC

Hi Sandeep,

I have attached a sample in which i have checked the condition to drop the child nodes of "MailBox" alone. "Personal Folder" child nodes cannot be dropped into MailBox.

In the ClientSideOnNodeDrop event, you can check your condition (as per your requirement specify the condition) and if it is satisfied, True will be returned and the node will be dropped else the function will be cancelled.

http://www.syncfusion.com/Support/user/uploads/DragAndDrop.zip

Let me know if you have any further queries.

Regards,
Valli

Kathy Gray
Replied On January 11, 2008 10:26 PM UTC

Is there a way to do this on the server side?

Thanks, Kathy

>Hi Sandeep,

I have attached a sample in which i have checked the condition to drop the child nodes of "MailBox" alone. "Personal Folder" child nodes cannot be dropped into MailBox.

In the ClientSideOnNodeDrop event, you can check your condition (as per your requirement specify the condition) and if it is satisfied, True will be returned and the node will be dropped else the function will be cancelled.

http://www.syncfusion.com/Support/user/uploads/DragAndDrop.zip

Let me know if you have any further queries.

Regards,
Valli


Vishnu Kumar [Syncfusion]
Replied On January 17, 2008 11:44 AM UTC

Hi Kathy,

Thank you for your interest in Syncfusion products.

Server side condition checking during node drop in TreeView.

I am able to see the issue of that you have mentioned here. But we do not have any server side event to check the condition during node drop and we have only TreeView_NodeDropped event which will be fired after the node is dropped in to the treeview. So I regret to let you know that it is not possible to check the condition in server side during the node drop. Sorry for the inconvenience.

Regards,
Vishnu


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;