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.

Bug on TreeView

Thread ID:

Created:

Updated:

Platform:

Replies:

71102 Jan 15,2008 11:48 AM Jan 16,2008 08:07 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Faleh
Asked On January 15, 2008 11:48 AM

Hi
I have a TreeView with nodes builded with
ExpandeMode = ServerSideCallback

also the treeView alows Drag And Drop

the bug accurs when I drop a node into another node which is not populated yet then I try to expand another node to populate its sub nodes!

On debuging I cant go to the function :
protected void TreeView1_NodeExpanded(object sender, Syncfusion.Web.UI.WebControls.Tools.TreeViewNodeEventArgs e)

How that happen ? is it a way to resolve that ?

Sorry for my english !! :D
Thanks !!


Faleh
Replied On January 16, 2008 08:07 AM

Sorry !!

the bug happens because on the "_TRV_NodeExpanded" function I do :
e.Node.Items.Clear();
then
I load the child nodes from Data Base!!

on Drag And Drop with expand it happen
we have to check the node if exist in child nodes before adding the childs nodes from loaded from DB.

thanks


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.

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.

;