none
ASPX页面上下分栏问题 RRS feed

  • 问题

  •  

    项目是C#.NET开发的。我需要的页面效果是把一个页面分成上下2部分。

    上面部分是不会动的,在上面部分有一个DROPDOWNLIST根据我

    选择的DROPDOWNLIST值,页面的下面部分发生变化。

    现在的ASPX页面全是DIV写的。

    如下:

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     <div class="contents-area">
                    <div class="tabledata">
                        <!-- Group Direct↓↓ -->
                        <h3>
                            <asp:Label ID="lblIdGroupAddressBook" runat="server" Text="Address Book"></asp:Label>
                        </h3>
                        <asp:UpdatePanel ID="udpIdGroupAddBookList" runat="server">
                            <ContentTemplate>
                        <table cellpadding="0" cellspacing="2" id="TABLE8" runat="server">
                            <tr>
                                <td>
                                   <div class="left">
                                        <asp:ImageButton ID="btnIdGroupAddress_SelAll" runat="server" />
                                    </div>
                                   <div class="right">
                                        <UserControlerPage ID="PerPageControl" runat="server" />
                                   </div>
                                    <div class="tabledata">
                                        <asp:table cellpadding="0" cellspacing="2" ID="GroupAddressBookListTable" runat="server">
                                        </asp:table>
                                    </div>
                                </td>
                            </tr>
                        </table>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <!-- Group Direct↓↓ -->
                    </div>
                </div>

    </asp:Content>

    2009年1月6日 1:26

答案

全部回复