RadPanelBar not expanding

4 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    29 posts
    Member since:
    Apr 2014

    Posted 04 Apr Link to this post

    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?

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    835 posts

    Posted 06 Apr Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ehab
    Ehab avatar
    3 posts
    Member since:
    Sep 2014

    Posted 11 Oct in reply to Ivan Danchev Link to this post

    Dear Ivan,

    Please provide a link to your answer

     

    Thanks

  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    835 posts

    Posted 12 Oct Link to this post

    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.
Back to Top