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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeNodeAdv.Tag property

Thread ID:

Created:

Updated:

Platform:

Replies:

75707 Aug 7,2008 05:53 AM UTC Aug 7,2008 06:21 AM UTC WinForms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On August 7, 2008 05:53 AM UTC

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 06:11 AM UTC

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 06:21 AM UTC

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.

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

;