刚接触Ajax 在使用ModalPopupExtender遇到了一些问题
先看看我的代码:
 <cc1:ModalPopupExtender ID="ModalPopupExtender2" runat="server"
              TargetControlID="btnTest"
              PopupControlID="Panel1"
              DropShadow="true"
              OkControlID="btnOK"
              CancelControlID="btnClose"
              Drag="false" 
              BackgroundCssClass="bg" 
 </cc1:ModalPopupExtender>这是panel的:
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px" BackColor=Yellow >
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:Button ID="btnOK" runat="server" Text="Button" />
                <asp:Button ID="btnClose" runat="server" Text="Button" /></asp:Panel>运行以后 点击btnTest后  panel的内容显示在这个页面的最下方, 而且设置的BackgroundCssClass的css样式显示到panel的下面了,无限延伸。
各位大仙请帮忙