as in below link when colleps panel expands then content also goes down how it can be done. plzzz visit the below link i have use CollapsiblePanel but my content are now moving down when i click on button to expand the panel but my contentn below remain at it position and CollapsiblePanel comes over the content help plzzzz

http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/CollapsiblePanel/CollapsiblePanel.aspx

Please put your code here. Posting code might help you.

</table>
           
           
    <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" runat="server" TargetControlID="panelCreditCard" CollapsedSize="0" ExpandedSize="100" Collapsed="true" ExpandControlID="btnCreditDetail" CollapseControlID="btnCreditDetail" AutoCollapse="false" AutoExpand="false" ScrollContents="true" TextLabelID="Label1" CollapsedText="show detail" ExpandedText="hide detail" ExpandDirection="Vertical">
    </cc1:CollapsiblePanelExtender>
            <table style="top: 1218px; left: 554px; position: absolute; height: 34px; width: 173px">
                <tr>
                    <td>
                        <input id="btnCreditDetail" type="button" value="Credit Detail" class="button" onclick="HideBankPanel()" />
                    </td>
                    <td>
                      <input id="btnBankDetail" type="button" value="Bank Detail" class="button" onclick="HideCredit();" />
                    </td>
                </tr>
            </table>

<table  style="top: 1352px; left: 304px; position: absolute; height: 26px;
        width: 732px; z-index: -1;" bgcolor="#E4D7D1">
        <tr>
            <td class="text">
                Agent's Comments
            </td>
            <td>
                <asp:TextBox ID="txtAgentComments" runat="server" Height="43px" TextMode="MultiLine"
                    Width="608px"></asp:TextBox>
            </td>
        </tr>
    </table>

this is the coding for extender below to this extender there is an other table contains text field for agent comments.it works fine but problem is that when it expands it comes over the textfild i want that when i expand the panel the table of containg textfields for agents comments should move down thx

Don't use absolute position.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.