Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Slider > Maintaining a Minimum Width of a RadListBox

Not answered Maintaining a Minimum Width of a RadListBox

Feed from this thread
  • Robert Intermediate avatar

    Posted on Dec 2, 2011 (permalink)

    I have a scenario where I have two RadSlidingPanes side by side.  In point of fact, they're nested in the sense that one is on the parent Web Content Form and the other is inside a User Control that is loaded into the form.

        <telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None" MaxWidth="200"><br>      <telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" Height="0" ClickToOpen="true" DockedPaneId="radSlidingPane"><br>        <telerik:RadSlidingPane ID="radSlidingPane" runat="server" BackColor="#F0F8FF" CssClass="slidingPane" TabView="TextAndImage" IconUrl="~/Images/hierarchy.gif" DockOnOpen="true"><br>          <telerik:RadListBox ID="radListBoxStopes" runat="server" Width="100%" Height="100%" AutoPostBack="true" OnItemCreated="radListBoxStopes_ItemCreated" OnSelectedIndexChanged="radListBoxStopes_SelectedIndexChanged"><br>            <ItemTemplate><br>              <asp:Panel runat="server"><br>                <asp:Label ID="labelStope" runat="server" Text='<%# Eval("Description") %>' CssClass="muckListPrimary" /><br /><br>                <asp:Label ID="labelUnits" runat="server" Text='<%# Eval("Units", "{0:0 units}") %>' CssClass="muckListSecondary" /><br>                <asp:HiddenField ID="hidFieldMaterial" runat="server" Value='<%# Eval("Material").ToString() %>' /><br>              </asp:Panel><br>            </ItemTemplate><br>          </telerik:RadListBox><br>        </telerik:RadSlidingPane><br>      </telerik:RadSlidingZone><br>    </telerik:RadPane><br>

    Please take a look at the first screen capture.  That's the way everything appears when the left sliding pane is collapsed.  Note how the RadListBox displays with a nice width.  But when I expand the left sliding pane the width of the right sliding pane (and the listbox within it) are shrunk down in width.

    I've tried several things but cannot figure out how to maintain a suitable width for the right sliding pane and its child listbox.

    Any advice on what to do?

    Robert



    Reply

  • Robert Intermediate avatar

    Posted on Dec 2, 2011 (permalink)

    Problem solved.  Sorry for bothering you.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Slider > Maintaining a Minimum Width of a RadListBox
Related resources for "Maintaining a Minimum Width of a RadListBox"

ASP.NET Slider Features  |  Documentation   |  Demos  |  Telerik TV   |  Self-Paced Trainer  |  Step-by-step Tutorial  ]