的用AJAX控件UpdatePanel出现这样的问题是怎么回事,运行时没问题,设计页面怎么会成这个样子,里面的控件都看不到了??

解决方案 »

  1.   

    不时UpdatePanel 控件的问题吧 是不时你引用的自定义控件出了问题,看看 你updatepanel里的html标签是否都闭合了,你放段代码 看看
      

  2.   

    clear 然后 rebuild 一下
      

  3.   

    他还用modelpopupup应该不是  找不到你的ajax库  这个问题吧
      

  4.   

    页面代码(这个是内容页面):
    <%@ Page Language="C#" MasterPageFile="~/QianTai.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Untitled Page" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div align="center">
    <div style=" position:absolute;width:192px; height:217px; left: 251px; top:277px; z-index:2" id="div1">
        <asp:Panel runat ="server" ID ="Denglu" Visible ="true" >
                          <table border="0"  style="height: 131px; width: 234px;" cellpadding="0px" cellspacing="0px">
                   <tr>
                       <td style=" background-image:url(image/dengl_01.jpg); background-repeat:no-repeat; width:232px; height:41px">&nbsp;
                     </td>
                   </tr>
                         
                   <tr align="center">
                       <td style="background-image:url(image/dengl_02.jpg); background-repeat:repeat-y; width:232px; height:83px" >
                          <table border="0"  style="height: 79px; width: 225px" cellpadding="0px" 
                               cellspacing="0px">
                                      <tr class ="dengluZiTi">
                                        <td  align="right" style="width: 75px; height: 41px" >
                                            <span class ="dengluZiTi">用户名:</span>
             </td>
                                        <td style="width: 154px; height: 41px;" >
                                            <asp:TextBox ID="txtLoginName" runat="server" 
                                                style="border-style:solid;border-color:#FF9933" Width="103px"></asp:TextBox><br />
                                            <asp:RequiredFieldValidator ID="rfvLogionName" runat="server" 
                                                ControlToValidate="txtLoginName" ErrorMessage="请输入用户名!" CssClass="dengluZiTi" ForeColor="DarkOrange">请输入用户名</asp:RequiredFieldValidator>
                                        </td>
                                      </tr>
                                      <tr>
                                        <td align="right" style="height: 45px; width:75px;" >
     <span class ="dengluZiTi">密 &nbsp;码:</span></td>
                                        <td style="width: 154px; height: 45px;"  >
                                            <asp:TextBox ID="txtLoginPwd" runat="server"  TextMode="Password" 
                                               style="border-style:solid;border-color:#FF9933" Width="97px"></asp:TextBox><br />
                                               
                                            <asp:RequiredFieldValidator ID="rfvLogionPwd" runat="server" 
                                                ControlToValidate="txtLoginPwd" ErrorMessage="请输入密码!" CssClass="dengluZiTi" ForeColor="DarkOrange">请输入密码</asp:RequiredFieldValidator>
                                        </td>
                                      </tr>
                                      <tr align="center">
                                        <td colspan="2" style="height: 44px">
                                            <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode ="Conditional">
                                            <ContentTemplate>
    <asp:ImageButton id="lbtnLogion" onclick="ibtnLogion_Click" runat="server" ImageUrl="~/image/dl.gif" Width="60px" Height="21px">
    </asp:ImageButton> 
    <asp:ImageButton id="ibtnZhuCe" runat="server" CausesValidation="False" PostBackUrl="~/ZhuCe.aspx" ImageUrl="~/image/zc.gif" Width="56px" Height="21px"></asp:ImageButton> 
    <asp:Label id="lblIsDenglu" runat="server" Width="201px"></asp:Label>
    </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </td>
                                      </tr>
                         </table>
                       </td>
                   </tr>
                   <tr>
                      <td  style="background-image:url(image/dengl_03.jpg); background-repeat:no-repeat; width:232px; height:10px" ></td>
                   </tr>
             </table> 
            </asp:Panel>
    </div>