CollapsiblePanel inside Formview ItemTemplate?

Last post 11-25-2008 2:23 AM by rekhakm. 8 replies.

Sort Posts:

  • CollapsiblePanel inside Formview ItemTemplate?

    04-28-2006, 7:35 AM
    • Member
      269 point Member
    • jstranger
    • Member since 10-12-2002, 5:03 AM
    • Guildford, Surrey, UK
    • Posts 126

    I would like to have a collapsible section within a Formview but can't figure out how to reference the Panel in the TargetControlID property of the CollapsiblePanelExtender. Any suggestions?

    Jon

     

     

  • Re: CollapsiblePanel inside Formview ItemTemplate?

    04-29-2006, 11:02 AM
    • Member
      269 point Member
    • jstranger
    • Member since 10-12-2002, 5:03 AM
    • Guildford, Surrey, UK
    • Posts 126

    Can anyone tell me if this is even possible?

    Jon

  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-01-2006, 11:46 AM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 7:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam
    Put the Extender inside the FormView (e.g. inside the template) next to the panel you want to reference.
    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-02-2006, 8:21 AM
    • Member
      269 point Member
    • jstranger
    • Member since 10-12-2002, 5:03 AM
    • Guildford, Surrey, UK
    • Posts 126

    Thanks for this - too obvious!

    BTW - the expanding and collapsing of the panel is quite jerky (opens and closes in several stages) - is this what I should expect or is it a problem with my implementation? I am also still experiencing a very brief initial display of the expanded panel despite setting Collapsed=true, panel height = 0 and using a CSS class on the panel with overflow:hidden as suggested elsewhere. But I am still running with debug=true so probably not a fair test yet.

     

     

  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-02-2006, 12:53 PM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 7:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam

    I'm really not sure what's the deal with the non-smooth expand/collapse. It's something to do with the way the time works in a given browser.  It seems to be better on some machines/browsers than others.  We're using an Atlas Animation object internally - it controls changing the value from the max to the min, so something is slowing that guy down.

    The brief display issue is something we've added some better support for in the refresh but the key here is to also set 'style="overflow:hidden"' on your panel in your web page.  That should stop the initial flash.

    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-02-2006, 5:56 PM
    • Member
      269 point Member
    • jstranger
    • Member since 10-12-2002, 5:03 AM
    • Guildford, Surrey, UK
    • Posts 126

    I tried the overflow:hidden approach but it did not improve the initial display for me and also appears to prevent the vertical scrollbar showing. Will continue to investigate.

     

  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-03-2006, 7:03 PM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 7:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam
    Oh darn - yeah it's going to stop the scrollbar.  In that case, try "overflow:scroll"
    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: CollapsiblePanel inside Formview ItemTemplate?

    05-04-2006, 3:28 AM
    • Member
      269 point Member
    • jstranger
    • Member since 10-12-2002, 5:03 AM
    • Guildford, Surrey, UK
    • Posts 126

    Yet another style feature I had never heard of. Unfortunately it results in a double set of scrollbars - very odd!

  • Re: CollapsiblePanel inside Formview ItemTemplate?

    11-25-2008, 2:23 AM
    • Member
      16 point Member
    • rekhakm
    • Member since 05-11-2007, 7:47 AM
    • Posts 28

     Hi

    i am having the same problem ie the collapsible panel is in expanded view  every time the page refreshes

    .Did u get any solution for this problem?

Page 1 of 1 (9 items)