UpdatePanel不会出现在默认加载中,但是在给定特定页面时会出现

时间:2012-10-10 19:10:53

标签: c# asp.net master-pages

几天前我就抓住了这个网络应用程序,我已经遇到了问题。

当我加载页面时,例如,HL1 = http://localhost:8001/,UpdatePanel根本不会出现。

虽然当我加载HL2 = http://localhost:8001/Default.aspx的页面时,它会充满光彩。

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

仅供参考,UpdatePanel是Master页面的一部分。

有什么建议吗?

谢谢, 阿比纳夫

[编辑:更新面板代码]

<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>

0 个答案:

没有答案