Using a CollapsiblePanel programmatically

Last post 08-17-2006 5:56 PM by sburke_msft. 22 replies.

Sort Posts:

  • Re: Using a CollapsiblePanel programmatically

    05-16-2006, 2:48 PM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 3:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam
    Could you trim down and attach the generated HTML.  That should explain what's going on.
    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Using a CollapsiblePanel programmatically

    05-16-2006, 3:27 PM
    • Participant
      803 point Participant
    • CompiledMonkey
    • Member since 02-04-2003, 6:05 PM
    • Richmond, VA
    • Posts 179
    This is the script at the bottom of my ASPX page when I don't have the "dummy" collapsible panel in there.

    <script type="text/xml-script">
    <page xmlns:script="http://schemas.microsoft.com/xml-script/2005">
      <components>
        <pageRequestManager id="_PageRequestManager" updatePanelIDs="OneMap1$genericUpdatePanel,OneMap1$zoomSliderUpdatePanel,OneMap1$mapUpdatePanel,OneMap1$featureUpdatePanel,OneMap1$layerLegendUpdatePanel,OneMap1$selectionModeUpdatePanel" asyncPostbackControlIDs="OneMap1_zoomSlider,OneMap1_mapImage" scriptManagerID="OneMap1$scriptManager1" form="form1" />
        <control id="OneMap1_updateProgress" visibilityMode="Collapse">
          <bindings>
            <binding dataContext="_PageRequestManager" dataPath="inPostBack" property="visible" />
          </bindings>
        </control>
      </components>
    </page></script>
    <script type="text/javascript">
    </script>


    Chris Stewart
    CompiledMonkey.com
  • Re: Using a CollapsiblePanel programmatically

    05-16-2006, 3:30 PM
    • Participant
      803 point Participant
    • CompiledMonkey
    • Member since 02-04-2003, 6:05 PM
    • Richmond, VA
    • Posts 179
    Here's what the same block looks like with the dummy control added:

    <script type="text/xml-script">
    <page xmlns:script="http://schemas.microsoft.com/xml-script/2005" xmlns:atlascontrolextender="atlascontrolextender" xmlns:atlascontroltoolkit="atlascontroltoolkit">
    <references>
    <add src="/Test Website/WebResource.axd?d=yTWt3sRX3jLRpsx508_l9xRUXKPeRks1cCBnfqCuf1Zuge5_Y4pPx8uy_GT39DfE1LJnyVEmTKa8URzdjMN8i2f_t52LkJYXwJswRUAvFtdt8D-kph1phXNVVYa6-g8F0&amp;t=632799165960000000" />
    <add src="/Test Website/WebResource.axd?d=DstUA6Q6sJYQ8KU4ZwTaqueea3Vp0kvhueuAypjTVM0yX7xQEFHaeXhBO83GEK_WLeURKwT7c4LAw4cWvtBA-ipdFjhOtR1qXJkkUKuwhsI1&amp;amp;t=632823506800000000" />
    <add src="/Test Website/WebResource.axd?d=DO0ZylcKemD5L-XDrGPlfA3-kCYQytodToH5QNnj3t9kTpaqX4eIyZosl_aqHcP77D4gQr87IqMjrNQl4uVLNeqJP69pbxwO05J6k4wlaDnwlsfBxH4c4dO1fntOXX6Q0&amp;amp;t=632823513440000000" />
    </references>
    <components>
    <pageRequestManager id="_PageRequestManager" updatePanelIDs="OneMap1$genericUpdatePanel,OneMap1$zoomSliderUpdatePanel,OneMap1$mapUpdatePanel,OneMap1$featureUpdatePanel,OneMap1$layerLegendUpdatePanel,OneMap1$selectionModeUpdatePanel" asyncPostbackControlIDs="OneMap1_zoomSlider,OneMap1_mapImage" scriptManagerID="OneMap1$scriptManager1" form="form1" />
    <control id="OneMap1_updateProgress" visibilityMode="Collapse">
    <bindings>
    <binding dataContext="_PageRequestManager" dataPath="inPostBack" property="visible" />
    </bindings>
    </control>
    </components>
    </page></script>
    <script type="text/javascript">

    Chris Stewart
    CompiledMonkey.com
  • Re: Using a CollapsiblePanel programmatically

    05-16-2006, 3:32 PM
    • Participant
      803 point Participant
    • CompiledMonkey
    • Member since 02-04-2003, 6:05 PM
    • Richmond, VA
    • Posts 179
    How can I figure out what those included resources are so I can embed them myself?
    Chris Stewart
    CompiledMonkey.com
  • Re: Using a CollapsiblePanel programmatically

    08-16-2006, 5:45 PM
    • Member
      35 point Member
    • prakis
    • Member since 07-12-2006, 5:52 PM
    • Bangalore
    • Posts 7
    I was also getting this Error "Assertion Failed:atlascontrolextender.......

    One Quick and dirty solution for this error is drag and drop a CollapsePanelExtender on the screen.

      <atlasToolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender1test" runat="server">
            </atlasToolkit:CollapsiblePanelExtender>

    it worked for me.
  • Re: Using a CollapsiblePanel programmatically

    08-17-2006, 3:09 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    • AspNetTeam
    Yes, following prakis's recommendation often solves the problem in cases like this.

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Using a CollapsiblePanel programmatically

    08-17-2006, 3:24 PM
    • Participant
      803 point Participant
    • CompiledMonkey
    • Member since 02-04-2003, 6:05 PM
    • Richmond, VA
    • Posts 179
    David Anson:
    Yes, following prakis's recommendation often solves the problem in cases like this.


    It does as a quick and dirty, and that's what I've been doing.  It's not the best way though and I'm still looking for that solution.
    Chris Stewart
    CompiledMonkey.com
  • Re: Using a CollapsiblePanel programmatically

    08-17-2006, 5:56 PM
    • Contributor
      4,346 point Contributor
    • sburke_msft
    • Member since 04-04-2006, 3:28 PM
    • Redmond, WA
    • Posts 770
    • AspNetTeam
    So far, it's the best we know of as well.  If a "bester" solution comes along, we're happy to pass it along!
    Don't forget, this posting is provided "AS IS" with no warranties, and confers no rights.
Page 2 of 2 (23 items) < Previous 1 2