Click here to Skip to main content
15,921,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hii ,


I have one Ajax model popup which is present inside , from this popup , i can download multiple contents and give the download popup to user ,

previously i wasnt keeping update panel but now i wanted to display waiting image if there is processing time to download the content on page , but image not coming as well as not even that download popup is coming on the page

Please suggest

C#
function BeginRequestHandler(sender, args) {
        var elem = args.get_postBackElement();
        $("body").css("overflow", "hidden");
        ActivateAlertDiv('visible', 'AlertDivContainer');
    }

    function EndRequestHandler(sender, args) {
        DeActivateAlertDiv('hidden', 'AlertDivContainer');
        $("body").css("overflow", "auto");
    }

    function ActivateAlertDiv(visstring, elem) {
        var adiv = $get(elem);
        adiv.style.visibility = visstring;
    }

    function DeActivateAlertDiv(visstring, elem) {
        var adiv = $get(elem);
        adiv.style.visibility = visstring;
    }



XML
<div id="AlertDivContainer" class="AlertStyleContainer">
    <div id="AlertDivContent" class="AlertStyleContent">
        <img src="../images/loading.gif" alt=" " />
    </div>
</div>






this is my content to disply processing image
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900