需要在进度表中放入asp.net4.0中的进度条 [英] need to put progress bar in form in asp.net4.0

查看:68
本文介绍了需要在进度表中放入asp.net4.0中的进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在我的项目中的asp.net项目中工作时,我单击提交"按钮或更新"按钮,这将花费很多时间,因此我需要在

解决方案

您好,

尝试关注

 <%@    页面   语言  ="  C#"  AutoEventWireup    true"  CodeFile   ="  继承   _ Default"   %> 
<  !DOCTYPE     html     PUBLIC    -//W3C//DTD   XHTML     1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"  >> 
<   html     ="   http://www.w3.org/1999/xhtml" > 
<      ="  服务器" <  标题 >  UpdateProgress控件<  /title  > 
<  /head  > 
<  正文 > 
    <  表单    ="   form1"  runat   >服务器"  > 
        <   asp:ScriptManager     ID   ="   runat   服务器" / <   asp:UpdateProgress    运行  ="   id    PageUpdateProgress " <   ProgressTemplate  > 
                载入中...
            <  /ProgressTemplate  > 
        <  /asp:UpdateProgress  > 
        <   asp:UpdatePanel    运行  ="   id   面板" <   ContentTemplate  > 
                <   asp:Button    运行  ="   id    UpdateButton "  onclick    UpdateButton_Click" 文本  更新" / > 
            <  /ContentTemplate  > 
        <  /asp:UpdatePanel  > 
    <  /form  > 
<  /body  > 
<  /html  >  


祝你好运
快乐编码:)



检查链接
http://www.essentialobjects.com/Products/EOWeb/ProgressBar.aspx [ ^ ]

希望对您有帮助


hi,
i m working in asp.net project in my project when i click to submit button or update button it will take sevral time to load so i need to put some progress bar put in for

解决方案

Hi,

try Following

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>UpdateProgress control</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <asp:UpdateProgress runat="server" id="PageUpdateProgress">
            <ProgressTemplate>
                Loading...
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel runat="server" id="Panel">
            <ContentTemplate>
                <asp:Button runat="server" id="UpdateButton" onclick="UpdateButton_Click" text="Update" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>


Best Luck
Happy Coding:)


Hi
Check the link
http://www.essentialobjects.com/Products/EOWeb/ProgressBar.aspx[^]

Hope this will help you


这篇关于需要在进度表中放入asp.net4.0中的进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆