Link to home
Start Free TrialLog in
Avatar of agerled
agerled

asked on

Modal Popup as updateprogress

Hi

I want to use a Modal Popup as an updatepanel updateprogress. I am using the posted code to/show the modal popup - this works ok.

But this way i loose the "DisplayAfter" property of the ajax updateprogress control.

Is there any other way to do this and still have the "DisplayAfter" functionality?

Thanks
Jacob
<script type="text/javascript">
 
        Sys.Net.WebRequestManager.add_invokingRequest(onInvoke);
        Sys.Net.WebRequestManager.add_completedRequest(onComplete);
 
        function onInvoke(sender, args)
        {
        
            $find('<%= mpeProgress.ClientID %>').show();
        }
 
        function onComplete(sender, args)
        {
            $find('<%= mpeProgress.ClientID %>').hide();
        }
 
</script>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of wht1986
wht1986
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of agerled
agerled

ASKER

Hi.

Thank you very much. That worked.