Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8014915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:05:32+00:00 2026-06-04T20:05:32+00:00

I have an asp.net webform with an update panel and some code-behind event handlers

  • 0

I have an asp.net webform with an update panel and some code-behind event handlers to handle partial postbacks. In such events, Sys.WebForms.PageRequestManager.getInstance.add_endRequest method is executed as it should once the page is partial-rendered by browser.

The problem is, when I put Response.Redirect line in code-behind in one of these events, the Sys.WebForms.PageRequestManager.getInstance.add_endRequest event do not execute. Due to this, the busy animation keep showing after the page completes execution.

In particular, my code-behind event handler redirect user to a file, this effectively results in browser downloading that file. As long as that file is an image file the whole thing works correctly as the image is shown in the same window of browser. The problem arises when the file is a ms office file that browser wants to open in ms office. The user clicks “open” or “save” in the dialog box and file is opened in ms office or save in file system, but the page stays in busy state because Sys.WebForms.PageRequestManager.getInstance.add_endRequest is not executed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:05:33+00:00Added an answer on June 4, 2026 at 8:05 pm

    The problem’s to do with the requests being partial page requests. Because they’re downloading files there’s no benefit gained by making them partial. Instead, I’d make the ‘buttons’ trigger full post backs, either by adding them as PostBackTriggers or programmatically using the RegisterPostBack method of the ScriptManager.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Asp.Net 4.0 website/control interface that uses an update panel and some
I'm using an Ajax update panel and have recently added ASP.NET tracing code to
I have a asp.net webform with a button. The OnClientClick event is wired to
Within an asp.net webform I have some jquery that controls the positioning of elements
I have an asp.net button and an asp.net label in an update panel and
I have an ASP.NET webform on which I use a DropDownList control to allow
I have an ASP.NET Webform and inside the form I have an input type
I have an ASP.NET Webform which currently calls a Java WebService. The ASP.NET Webform
I have a jQuery Autocomplete field on an ASP.Net Webform and everything has been
Good Morning, I have created an ASP.NET 3.5 webform that allows users to search

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.