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.

TreeNodeAdv.Tag property

Thread ID:

Created:

Updated:

Platform:

Replies:

75707 Aug 7,2008 01:53 AM Aug 7,2008 02:21 AM Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On August 7, 2008 01:53 AM

Hi,

While constructing the node I am assigning an object to Tag property of TreeNodeAdv.
But it returns "null" while accessing in AfterExpand event.
Can someone pls help in resolving the issue.

private void tvSync_AfterExpand(object sender, TreeViewAdvNodeEventArgs e)
{
if (e.Node.ExpandedOnce) return;
if (e.Node.Level == 1)
{
drvNode = (DataRowView)e.Node.TagObject;
BuildLenderBookBuffer(e.Node, drvNode);
BuildLCB(e.Node, drvNode);
}
}


Thanks,Ravi



Administrator [Syncfusion]
Replied On August 7, 2008 02:11 AM

Hi,

This issue has been resolved now.
if (e.Node.Level == 2)
{
drvNode = (DataRowView)e.Node.Tag;
BuildLenderBookBuffer(e.Node, drvNode);
BuildLCB(e.Node, drvNode);
}

Regds,
Ravi
>Hi,

While constructing the node I am assigning an object to Tag property of TreeNodeAdv.
But it returns "null" while accessing in AfterExpand event.
Can someone pls help in resolving the issue.

private void tvSync_AfterExpand(object sender, TreeViewAdvNodeEventArgs e)
{
if (e.Node.ExpandedOnce) return;
if (e.Node.Level == 1)
{
drvNode = (DataRowView)e.Node.TagObject;
BuildLenderBookBuffer(e.Node, drvNode);
BuildLCB(e.Node, drvNode);
}
}


Thanks,Ravi





Administrator [Syncfusion]
Replied On August 7, 2008 02:21 AM

Hi Ravi,

Thank you for the update.

Thank you for your interest in Syncfusion Products.

Regards,
Hema


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.

;