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

RadPanelBar not expanding

3 Answers 45 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 04 Apr 2016, 09:16 PM

I am using RadPanelBar throughout my site and it works fine.  But suddenly when I try to add another one on a user control, I get some weird behavior.  The expandmode I'm using on the site is MultipleExpandedItems and that's what I would like to use in this user control.  I've spent hours on this and have tried to approach it from different directions.  I'm finally at the point where I copied the demo from Telerik and still getting the weird results.  Here's my current test user control.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TestUserControl.ascx.cs" Inherits="UserControls.TestUserControl" %>
     <div>
        <telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="MultipleExpandedItems">
            <Items>
                <telerik:RadPanelItem Text="Panel 1">
                    <Items>
                        <telerik:RadPanelItem Text="Item 1" />
                        <telerik:RadPanelItem Text="Item 2" />
                        <telerik:RadPanelItem Text="Item 3" />
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Panel 2">
                    <Items>
                        <telerik:RadPanelItem Text="Item 4" />
                        <telerik:RadPanelItem Text="Item 5" />
                        <telerik:RadPanelItem Text="Item 6" />
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>
    </div>

The panels render as collapsed and when you click on them nothing happens.  However, when I change the ExpandMode to SingleExpandedItem then suddenly it works.  Why does it only work on SingleExpandedItem mode in my user control but not in MultipleExpandedItems mode?  And why does MultipleExpandedItems work everywhere else on my site?

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 06 Apr 2016, 11:50 AM
Hello Jeremy,

I replied to your inquiry in the other thread with identical subject in the Ticketing System. I suggest we continue the discussion in it, in order to avoid thread duplication.

Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Ehab
Top achievements
Rank 2
answered on 11 Oct 2016, 12:49 PM

Dear Ivan,

Please provide a link to your answer

 

Thanks

0
Ivan Danchev
Telerik team
answered on 12 Oct 2016, 12:21 PM
Hello Ehab,

I attached a sample project that followed Jeremy's scenario. He was not able to reproduce in the sample project the issue with the items not expanding when MultipleExpandedItems mode is set. We were not able to reproduce any issue either. Eventually he decided to go with a different approach.

Regards,
Ivan Danchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
PanelBar
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Ehab
Top achievements
Rank 2
Share this question
or