RadTreeView Contril IMAGE URL

3 posts, 0 answers
  1. pasam Anna
    pasam Anna avatar
    19 posts
    Member since:
    Oct 2009

    Posted 27 Nov 2009 Link to this post

    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

    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"/> 
    But this OnNode Event is not firing.
    I dAtatable I have imageURL columun.
    Every node i hve Separate image.
    How to achieve this

  2. Yana
    Admin
    Yana avatar
    5015 posts

    Posted 27 Nov 2009 Link to this post

    Hello,

    This help article is for RadTreeView for ASP.NET, but I guess you're using RadTreeView for ASP.NET AJAX. Here is the correct article.

    Kind regards,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. pasam Anna
    pasam Anna avatar
    19 posts
    Member since:
    Oct 2009

    Posted 29 Nov 2009 Link to this post

    Hi
       Thanks you so much for your reply.
    This is the one I want.
Back to Top