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

PanelBar does not expand

6 Answers 146 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Jonathan Medley
Top achievements
Rank 1
Jonathan Medley asked on 20 May 2008, 06:25 PM

Up until today this behavior never happened. Any new webform or webusercontrol I create and drop a RadPanelBar onto, the items don't expand.

I'm using RadControls for ASPNET AJAX Q1 2008 (4/14/2008)

Here's my aspx code:

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

</telerik:RadScriptManager>

<div>

<telerik:RadPanelBar ID="RadPanelBar1" runat="server">

<CollapseAnimation Duration="100" Type="None" />

<Items>

<telerik:RadPanelItem runat="server" Text="Root RadPanelItem1">

<Items>

<telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1">

</telerik:RadPanelItem>

<telerik:RadPanelItem runat="server" Text="Child RadPanelItem 2">

</telerik:RadPanelItem>

</Items>

</telerik:RadPanelItem>

</Items>

<ExpandAnimation Duration="100" Type="None" />

</telerik:RadPanelBar>

</div>

</form>

</

body>

</

html>


Any ideas why this is happening?

Thanks

6 Answers, 1 is accepted

Sort by
0
Jonathan Medley
Top achievements
Rank 1
answered on 20 May 2008, 07:51 PM
btw, the RadTreeView, RadComboBox, and RadMenu controls do not expand either.
0
Helen
Telerik team
answered on 21 May 2008, 11:07 AM
Hello,

Do you mean design-time or run-time? Note that currently RadPanelBar for ASP.NET AJAX doesn't support expanding of items design-time.


Kind regards,
Helen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jonathan Medley
Top achievements
Rank 1
answered on 21 May 2008, 12:14 PM
The PanelBar does not expand at run-time.

Thanks
0
Jonathan Medley
Top achievements
Rank 1
answered on 21 May 2008, 02:14 PM
More info,

The RadPanelBar seems to work (by work meaning I can drop the control on the webform, add an item with 2 child items, NO code-behind, run the app and the bar expands/collapses) with these development combos:
  • Visual Studio 2005 and RadPanelBar control that comes with RadControls 'Prometheus' for ASPNET Q3 2007. When adding the control, RadPanelbar.Net2.dll is added to the Bin folder. (btw, this control expands/collapses at desgin-time - nice feature).
  • Visual Studio 2008 and RadPanelBar control that comes with RadControls for ASPNET AJAX Q1 2008. When adding the control, only Telerik.Web.UI.dll is placed into the Bin folder, no other dll.

This combination does NOT work for me:

  • Visual Studio 2005 and RadPanelBar control that comes with RadControls for ASPNET AJAX Q1 2008. When adding the control, only Telerik.Web.UI.dll is placed into the Bin folder, no other dll.

Any ideas why the last combination doesn't work?
Thanks

0
Jonathan Medley
Top achievements
Rank 1
answered on 21 May 2008, 02:14 PM
.
0
Simon
Telerik team
answered on 27 May 2008, 07:49 AM
Hi Jonathan Medley,

I tested the latter configuration and everything worked normally.

Please examine the attached sample project for any differences between it and yours.

Currently, RadPanelBar for ASP.NET AJAX doesn't support expanding of items design-time as opposed to its "Classic" version.

All the best,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
PanelBar
Asked by
Jonathan Medley
Top achievements
Rank 1
Answers by
Jonathan Medley
Top achievements
Rank 1
Helen
Telerik team
Simon
Telerik team
Share this question
or