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

Add Ajax to a PanelBar (Specific)

1 Answer 42 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Landon
Top achievements
Rank 2
Landon asked on 01 Feb 2011, 12:42 AM
Hi,

I currently have a PanelBar with 4 PanelBarItems. I recently started adding AJAX to my page using AJAX Manger, AJAX Manager Proxy, and AJAX Loading Panel. All has gone well until I tried AJAXifying my RadPanelBar.

To start off, lets call my  4 PanelBarItems Item1, Item2, Item3, and Item4.

In Item1, Users are given a bunch of options to Create a report the way they want it. After choosing their options they can click the "Build Report" button to Generate the Report. After the user has clicked the button a number of things happen:

1. The options of the report are inputted, starting the Method to dynamically create the Report.
2. Item1 is closed
3. The Report is then Viewed in a ReportViewer in Item4
4. Item4 is expanded to show the dynamic report.

Now, this all works fine without using AJAX and doing a full postback, but unfortunately it would be a lot smoother if this could happen with AJAX.
I have set up Panels around the contents of each item for Refreshing Panels and such, and this all works great, but I am having trouble Closing and Opening RadPanelItems with AJAX. I have also tried setting up a Panel around the whole PanelBar, but had no such luck getting this to work properly. I have also tried setting the UpdatedControls to the PanelBar ID itself, but also no luck.

Is it possible to expand, contract and update PanelBarItems with AJAX?

Best Regards,

Landon

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 02 Feb 2011, 12:44 PM
Hi Landon,

Could you please send us a simplified version of you page because currently  I'm not able to understand the exact scenario? Thanks in advance

Greetings,
Yana
the Telerik team
Browse the vast support resources we have to jump start 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
Landon
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or