Dynamic creation of AccordionPanes

Last post 02-01-2007 3:34 AM by psiazon@hotmail.com. 0 replies.

Sort Posts:

  • Dynamic creation of AccordionPanes

    02-01-2007, 3:34 AM

    Hello,

     I'm having a problem creating dynamic accordion panel. Here's my situation...

    I have a search textbox and a search button. Supposedly, when the search button is clicked, it should create a new AccordionPane in my Accordion Control, displaying the contents of my search results.

     The first time I'll clicked on the search button, it successfully inserts a new AccordionPane, which is the right behavior. However, with my second click, it REPLACES the pane created on my first click. What I am expecting is that, it would APPEND the new pane. 

    I tried giving different ID tags for the  controls (inside the Content), but the old pane still replaced by the newly created pane. I'm actually trying to simulate the behavior of the left side pane in the Live Search site (http://local.live.com/).

     

    Thank you in advance.

Page 1 of 1 (1 items)
Microsoft Communities
Page view counter