This is a migrated thread and some comments may be shown as answers.

How to set PanelBar to be fixed width?

1 Answer 68 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Ron asked on 01 Dec 2010, 09:25 AM
Hi,
I'm using Telerik file version 2009.2.826.35 ASP.NET PanelBar web UI control. I'm nested a RadGrid (binded with data in Page_Load event) in the RadPanelItem. This PanelBar control is placed in one of the table cells i.e. within a <td style="width:25%;"> tag and on expand, the table cell is expanded out of alignment (controls to the right of the tablecell are shifted) due to the RadGrid having too many columns.

I will like the PanelBar to retain its size as in the Collapsed state when it expands.

How can I fixed the width of the PanelBar control since I have alerady enable the scrolling on the RadGrid?

I'm using IE8 browser.

 

 

 

<table>
        <tr>
        <td style="vertical-align:top;">
        <span style="display:inline;">
    <telerik:RadPanelBar ID="RadPanelBar1" Runat="server">
        <Items>
            <telerik:RadPanelItem runat="server" Text="Interest">
            <Items>
                  
                <telerik:RadPanelItem runat="server">
                    <ItemTemplate>
                        <telerik:RadGrid ID="RadGrid2" runat="server">
                        <ClientSettings Scrolling-AllowScroll="true">
                            <Scrolling AllowScroll="true" SaveScrollPosition="true" ScrollHeight="250px"/>
                        </ClientSettings>
                        </telerik:RadGrid>
                    </ItemTemplate>
                </telerik:RadPanelItem>
                  
            </Items>
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>
    </span>
    </td>
        <td style="vertical-align:top;">
        <span style="display:inline;">
            <telerik:RadPanelBar ID="RadPanelBar2" Runat="server">
        <Items>
            <telerik:RadPanelItem runat="server" Text="Interest">
            <Items>
                  
                <telerik:RadPanelItem runat="server">
                    <ItemTemplate>
                        <telerik:RadGrid ID="RadGrid2" runat="server">
                        <ClientSettings Scrolling-AllowScroll="true">
                            <Scrolling AllowScroll="true" SaveScrollPosition="true" ScrollHeight="250px"/>
                        </ClientSettings>
                        </telerik:RadGrid>
                    </ItemTemplate>
                </telerik:RadPanelItem>
                  
            </Items>
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>
    </span>
    </td>
    </tr>
        </table>

 

 



Thank you in advace,
Ron Tan

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 06 Dec 2010, 10:10 AM
Hi Ron,

I was not able to reproduce the problem you experience.
Could you, please, open a support ticket and send us a runnable example which reproduces this appearance?


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
PanelBar
Asked by
Ron
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or