C# UpdatePanel不会在默认加载时显示,但在给定特定页面时会显示

C# UpdatePanel不会在默认加载时显示,但在给定特定页面时会显示,c#,asp.net,master-pages,C#,Asp.net,Master Pages,几天前,我得到了一个ThisWeb应用程序,我已经遇到了一个问题 当我加载页面时,比如说,HL1=http://localhost:8001/,根本不显示UpdatePanel 但是当我加载带有HL2=http://localhost:8001/Default.aspx,它展现了它的辉煌 [编辑:添加了HL1、HL2标签] 仅供参考,UpdatePanel是母版页的一部分 有什么建议吗 谢谢, 阿比纳夫 [编辑:更新面板的代码] <asp:UpdatePanel ID="upan" run

几天前,我得到了一个ThisWeb应用程序,我已经遇到了一个问题

当我加载页面时,比如说,HL1=
http://localhost:8001/
,根本不显示UpdatePanel

但是当我加载带有HL2=
http://localhost:8001/Default.aspx
,它展现了它的辉煌

[编辑:添加了HL1、HL2标签]

仅供参考,UpdatePanel是母版页的一部分

有什么建议吗

谢谢, 阿比纳夫

[编辑:更新面板的代码]

<asp:UpdatePanel ID="upan" runat="server" >
    <ContentTemplate>
        <fieldset style="width:320px; padding:2px;margin-top:20px;margin-bottom:5px;" onmouseover="showHelp('quickAccess')" onmouseout="g_Popup.hide()">
            <legend>Quick Access</legend>
            <span style="vertical-align: middle">Dummy #
            <asp:TextBox ID="txtSearchDummy" clientidmode="Static" runat="server" MaxLength="9" Width="70px" Height="15px" style="margin-top: 5px"></asp:TextBox>
            <asp:Button ID = "btnSearchDummy" clientidmode="Static" runat="server" OnClick="btnSearchDummy_Click" style="display:none"/>
            <button onclick="return quickAccess()"  lang="javascript" type="submit" class="button_enabled" style="margin-left: 5px;">
            <img alt="" src="images/lightning.gif"></img><span>Find Dummy</span></button></span>
        </fieldset>
    </ContentTemplate>
</asp:UpdatePanel>

快速访问
假人#
找哑巴

谢谢大家的帮助。这个问题现在已经解决了,正如预期的那样,它与ASP.NET无关。在母版页代码隐藏文件中,搜索框不可见


:)

是Default.aspx,即在项目属性中声明的默认页面?是否显示(母版)页面的其余部分?您需要提供更多详细信息。只需补充一点,我是一名Windows应用程序开发人员,此Web应用程序只是暂时的@Praveen不,这不是默认页面,我只是将其作为默认页面,但错误仍然存在。@Henk Holterman是的,页面的其余部分显示得非常完美。老实说,我不知道我能提供什么额外的信息。您想让我查看的任何特定内容?在母版页上放置一个标签(Text=“Master”),在默认内容页上放置另一个标签(Text=“Default”)。报告您看到的是哪一个以及何时看到。