updatapanel 如何做提示信息? 我的页面用了ajax中的updatapanel做局部更新!!用户查询数据库中的数据时,在处理过程什么提示都没了!!怎样才能在页面上做一个提示呢?例如在updatapanel中央出现一个提示正在更新的图标!!谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 同意3楼用updateprogress.再加点label控件就更好了啊 <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <div> <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> Loading... </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </div></form> 例子<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <div> <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> Loading... </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </div></form>这三个合起来用 <asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <img src="~/images/Loading1.gif" alt="显示图标" /> <span style="font-size: 12px; color: Blue;">正在提取数据中,请稍后...</span> </ProgressTemplate> </asp:UpdateProgress>这个有gif图,动画更好。我用了。 一个js图片幻灯片问题 附带网站访问量问题 问了小问题,有时间进来看看 找.net工作 asp.net每一个画面实例都是在新的一个thread里面吗? ☞ CSS相对定位的问题 怎样设置角色阿???/着急! 在网站首页中一个类别显示一条新闻,这样是怎么实现的? 关于用户控件的属性问题 ListView1 FindControl未将对象实例化 请教: 取当前的时间和日期是哪个类 C#初始化属性? asp.net控件
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
Loading...
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
Loading...
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>这三个合起来用
<ProgressTemplate>
<img src="~/images/Loading1.gif" alt="显示图标" />
<span style="font-size: 12px; color: Blue;">正在提取数据中,请稍后...</span>
</ProgressTemplate>
</asp:UpdateProgress>这个有gif图,动画更好。我用了。