CollapsiblePanelExtender not work

Last post 09-02-2008 11:40 PM by zy990613. 3 replies.

Sort Posts:

  • CollapsiblePanelExtender not work

    08-28-2008, 12:11 AM
    • Member
      9 point Member
    • zy990613
    • Member since 08-22-2008, 12:26 AM
    • Suzhou,China
    • Posts 21

    Hi,

    i wrote a page like follows:

    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="pnlUpdate" runat="server">
        <ContentTemplate>
            <ComponentArt:Splitter runat="server" id="Splitter1" FillWidth="true" FillHeight="true"   ImagesBaseUrl="images/" >
            <Layouts>
              <ComponentArt:SplitterLayout>
                <Panes Orientation="Horizontal" SplitterBarCollapseImageUrl="splitter_horCol.gif" SplitterBarCollapseHoverImageUrl="splitter_horColHover.gif" SplitterBarExpandImageUrl="splitter_horExp.gif" SplitterBarExpandHoverImageUrl="splitter_horExpHover.gif" SplitterBarCollapseImageWidth="5" SplitterBarCollapseImageHeight="116" SplitterBarCssClass="HorizontalSplitterBar" SplitterBarCollapsedCssClass="CollapsedHorizontalSplitterBar" SplitterBarActiveCssClass="ActiveSplitterBar" SplitterBarWidth="5">
                  <ComponentArt:SplitterPane PaneContentId="ChartingContent" Width="30%" Height="100%" MinWidth="100" CssClass="SplitterPane" AllowScrolling="true" />
                  <ComponentArt:SplitterPane PaneContentId="TelligentContent" Width="70%" Height="100%" MinWidth="100" CssClass="SplitterPane" AllowScrolling="true" /> 
                </Panes>
              </ComponentArt:SplitterLayout>
            </Layouts>
            <Content>
            <ComponentArt:SplitterPaneContent id="ChartingContent"> 
            <!--some controls-->
            </ComponentArt:SplitterPaneContent>
            <ComponentArt:SplitterPaneContent id="TelligentContent" Width="95%"> 
                <iframe id="dynamicalPage" runat="server" width="100%" height="100%" frameborder="0" ></iframe>                              
            </ComponentArt:SplitterPaneContent>
            </Content>          
          </ComponentArt:Splitter>    
       </ContentTemplate>
      </asp:UpdatePanel>

     and in the iframe there is a page dynamicalPage.aspx

    this dynamicalPage.apsx will dynamically load usercontrols to a panel  like follows:

     <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="PanelControls" runat="server">
            </asp:Panel>   
         </ContentTemplate>
        </asp:UpdatePanel>    

     But the usercontrols i used had an ajax tool CollapsiblePanelExtender .

    and it not works any more. Certainly it works in other palce,if i directly put the usercontrol to a page.

    I'm not sure it is because the iframe is in an UpdatePanel and the dynamicalPage.aspx itself also has an UpdatePanel.

    But if i remove that UpdatePanel in dynamicalPage.aspx the usercontrols will get errors.

    I hope some one can help me . Thanks a lot.

     

    zhang
  • Re: CollapsiblePanelExtender not work

    09-01-2008, 1:19 AM

    Hi,

    In UpdatePanel, you can use UFrame instead of IFrame.

    http://www.codeplex.com/UFrame


    Vince Xu
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: CollapsiblePanelExtender not work

    09-01-2008, 1:09 PM
    Answer
    • Participant
      1,274 point Participant
    • atanu.podder
    • Member since 08-20-2008, 11:40 AM
    • Bangalore
    • Posts 191

     Asp:IFrames are one those controls which are not compatible with Update panel. However, that being said, its just that instead of partial postback you would get a complete post back from the iframe, i dont see anything other that this an issue.

    I probably disagree the statement that ajax control would not function properly in case they are put in a iframe.

    I can provide you a sample addressing exactly the scenario you have mentioned, otherwise reproduce the problem in  a small application having one primary page, one page which would be set to the iframe dynamically and one user control which would be loaded in the other page dynamically, and share the code here, i'll hlp you fixing your issue.

    Let em know if you need any further assistence on this.

     

    Thanks,

    Atanu

     

    Thanks,
    Atanu, Symphony Services

    P.S. Dont forget to mark this as answer, if you have got resolution to your problem from this post.
  • Re: CollapsiblePanelExtender not work

    09-02-2008, 11:40 PM
    Answer
    • Member
      9 point Member
    • zy990613
    • Member since 08-22-2008, 12:26 AM
    • Suzhou,China
    • Posts 21

    Thank you both.

    I found my method is not a way to solve my problem.

    I'm now have no time to look into this issue.I have another important thing to deal with.

    When i was free , i'll work on this issue.

    Thank you for advise.

    zhang
Page 1 of 1 (4 items)