Thank you for writing.
You can achieve the desired behavior by handling the NodeFormatting
event. When handling the event, get the desired strings and set the Text
property of TreeNodeContentElement
. The following code concatenates the Text property with the value of the "pid"
sender, Telerik.WinControls.UI.TreeNodeFormattingEventArgs e)
DataRowView view = (DataRowView)e.Node.DataBoundItem;
s = view.Row[
e.NodeElement.ContentElement.Text = e.Node.Text +
" | "
I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
All the best,
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>