相关疑难解决方法(0)

如何让 ASP.NET 页面知道文件何时可以从服务器下载

我正在维护一个遗留的 VB.Net Webforms 应用程序,并且在添加一个部分后遇到了一个奇怪的问题。

这是 aspx 页面中的代码,在执行回发时显示 giphy.gif:

<style type="text/css">
    .modalWait
    {
        position: fixed;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 99;
        opacity: 0.5;
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        min-height: 100%;
        width: 100%;
    }
    .loading
    {
        font-family: Arial;
        font-size: 10pt;
        /*border: 5px solid #67CFF5;*/
        width: 100px;
        height: 100px;
        display: none;
        position: fixed;
        background-color: transparent;
        z-index: 999;
    }
</style>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
    function ShowProgress() {
        setTimeout(function () {
            var modal = $('<div />');
            modal.addClass("modalWait");
            $('body').append(modal);
            var loading = $(".loading");
            loading.show(); …
Run Code Online (Sandbox Code Playgroud)

c# vb.net asp.net jquery webforms

2
推荐指数
1
解决办法
2513
查看次数

标签 统计

asp.net ×1

c# ×1

jquery ×1

vb.net ×1

webforms ×1