Add Ajax to a PanelBar (Specific)

2 posts, 0 answers
  1. Landon
    Landon avatar
    66 posts
    Member since:
    Nov 2010

    Posted 31 Jan 2011 Link to this post


    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,

  2. Yana
    Yana avatar
    4604 posts

    Posted 02 Feb 2011 Link to this post

    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

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