Hi
How to add imageurl from datatable to treeview control.
I have tried which the sample u given
http://www.telerik.com/help/aspnet/treeview/tree_nodebound.html
But this OnNode Event is not firing.
I dAtatable I have imageURL columun.
Every node i hve Separate image.
How to achieve this
How to add imageurl from datatable to treeview control.
I have tried which the sample u given
http://www.telerik.com/help/aspnet/treeview/tree_nodebound.html
protected void HandleNodeBound(object sender, RadTreeNodeEventArgs NodeEventArgs) |
{ |
DataRowView dataSourceRow = (DataRowView)e.NodeBound.DataItem; |
e.NodeBound.Image = dataSourceRow["Image"].ToString(); |
... |
} |
<rad:RadTreeView |
ID="RadTree1" |
runat="server" ... |
OnNodeBound="HandleNodeBound"/> |
I dAtatable I have imageURL columun.
Every node i hve Separate image.
How to achieve this