Accordion Postback

Last post 07-06-2009 1:57 PM by Dean B. 4 replies.

Sort Posts:

  • Accordion Postback

    10-20-2006, 4:36 PM
    • Member
      10 point Member
    • simmonsj_98
    • Member since 10-19-2006, 9:38 PM
    • Posts 2

    I’m using the toolkit accordion panel on a new member form.  The controls have three panels, member information, profile, and roles.  One of the fields is bound to a CSLA data source, and one is bound to the roles in the system on page load.  I have a submit button that is outside of the accordion.  The first time I click the submit button the page will post back with out values persisting, after that first post back the value in the forms are persisting.

     

    Has anyone else seen this, or have a fix?

     

    I’m using AtlasControlToolKit version 1.0.60914.0

    And Microsoft.Web.Atlas.dll version 2.0.50727.60725

     

    Thanks

    Jeff

    http://www.liquidcognition.com

  • Re: Accordion Postback

    10-26-2006, 5:58 AM
    • Member
      284 point Member
    • SAXsucks
    • Member since 09-02-2002, 1:15 PM
    • Austria
    • Posts 67

    I experience the same problem.
    It seems that when I have an Accordion control on my page the first postback never works.

    ~ Hannes
  • Re: Accordion Postback

    11-27-2006, 3:44 AM
    • Member
      10 point Member
    • rizworks
    • Member since 11-22-2006, 1:09 PM
    • Posts 3
    any solution for that?
    Rizwan Ahmed
    Lahore, Pakistan
  • Re: Accordion Postback

    12-08-2006, 3:15 AM
    • Member
      5 point Member
    • RodSawers
    • Member since 12-08-2006, 8:07 AM
    • Posts 1

    I don't know if this helps, but I have been having a similar problem.

    I had a statically-defined Accordion.  One pane contains a text box and a button.  Another pane contains a GridView and a SqlDataSource.  In the click event for the button, I add a record to my database and I then called Page.DataBind to refresh the data source and grid view.
    After clicking the button, the database was updated, but the Accordion disappeared.

    I found that if I replace the Page.DataBind within the click event handler with a more specific GridView1.DataBind, everything works.

    It looks as though calling Accordion.DataBind on an Accordion which is not databound causes it to disappear.

    (By the way, I'm new to all this, so I apologise if this is obvious).

     


     

  • Re: Accordion Postback

    07-06-2009, 1:57 PM
    • Member
      2 point Member
    • Dean B
    • Member since 07-06-2009, 1:55 PM
    • Posts 1

     I am also having the same problem with a grid in the accordion. The first postback does not work.

    Should we send this to the ajax forum?

Page 1 of 1 (5 items)