Completed
Last Updated: 27 Feb 2014 10:55 by ADMIN
ADMIN
Vessy
Created on: 21 Feb 2014 15:00
Category: Splitter
Type: Bug Report
0
Locking a free sized RadPane breaks the Splitter's rendering
When a RadPane with not configured fixed size is locked its size is not calculated properly (and the size of all its sibling free-sized panes).The issue can be reproduced with the following code in Firefox (both in horizontally or vertically oriented Splitter):

    <telerik:RadSplitter ID="TestSplitter" runat="server" Width="100%" Height="100%"
        Orientation="Horizontal">
        <telerik:RadPane ID="RadPane1" runat="server"
            Locked="true">
        </telerik:RadPane>
        <telerik:RadPane ID="RadPane2" runat="server">
        </telerik:RadPane>
        <telerik:RadPane ID="RadPane3" runat="server">
        </telerik:RadPane>
    </telerik:RadSplitter>

These overrides can be used as a temporary workaround:

        Telerik.Web.UI.SplitterPaneBase.prototype.get_height = function () {
            return this._height === "" ? 0 : parseInt(this._height);
        }
        Telerik.Web.UI.SplitterPaneBase.prototype.get_width = function () {
            return this._width === "" ? 0 : parseInt(this._width);
        }
0 comments