Completed
Last Updated: 16 Mar 2016 14:29 by ADMIN
ADMIN
Vessy
Created on: 12 Mar 2016 14:14
Category: TreeView
Type: Bug Report
0
The TreeView wrapper is not expanded depending on its nodes width in LightWeight
The TreeView wrapper is not expanded depending on its nodes width when used in LightWeight render mode. As a result of that the horizontall scrollers of the control's parent element are never shown thus the nodes of the control appear truncated.


The problem can be reproduced with the following configuration:
ASPX:

        <div style="width: 100px; height: 400px; border: 1px solid black; overflow: auto;">
            <telerik:RadTreeView ID="RadTreeView" runat="server" RenderMode="Lightweight">
            </telerik:RadTreeView>
        </div>

C#:

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string[] cars = new string[] { "Porsche Carrera", "Ferrari F430", "Aston Martin DB9 and some more words foe a long node" };
            RadTreeView.DataSource = cars;
            RadTreeView.DataBind();
        }
    }
0 comments