Images not displaying

2 posts, 0 answers
  1. Sandeep
    Sandeep avatar
    22 posts
    Member since:
    Apr 2013

    Posted 22 May 2013 Link to this post

    Hi All,

    I am using RadTreeList, in which i have a TreeListSelectColumn and a template column for image , I am binding the treelist and it displays it correctly but when I click on any checkbox the image dissappear. could anybody help on this .

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 May 2013 Link to this post


    I have tried to replicate the issue and the below code worked as expected on my end.
    <telerik:RadTreeList ID="RadTreeList1" runat="server" DataSourceID="SqlDataSource1" DataKeyNames="EmployeeID" AutoGenerateColumns="false" ParentDataKeyNames="ReportsTo">
      <telerik:TreeListSelectColumn HeaderText="Select">
      <telerik:TreeListTemplateColumn HeaderText="image">
          <asp:ImageButton ID="ImageButton 1" runat="server" ImageUrl="~/Images/admin.PNG" AlternateText="img" />
      <telerik:TreeListBoundColumn DataField="EmployeeID" UniqueName="EmployeeID" HeaderText="EmployeeID"/>
      <telerik:TreeListBoundColumn DataField="LastName" UniqueName="LastName" HeaderText="LastName" />
      <telerik:TreeListBoundColumn DataField="FirstName" UniqueName="FirstName" HeaderText="FirstName" />
      <telerik:TreeListBoundColumn DataField="ReportsTo" UniqueName="ReportsTo" HeaderText="Reports To" />

Back to Top