The button that caused the postback is disabled during this event, so in order to prevent users from hitting the button again.
The Page Request Manager class handles the partial-page updates of the Update Panel.
This class defines client events that you can use during an asynchronous request cycle.
Let us see how to use some events of this class to display progress to the user while the Update Panel updates its contents.
As shown in the code above, we first get a reference to the Page Request Manager and then wire up the initialize Request and end Request events to execute, when an async postback begins and ends respectively.
When the user initiates a postback by clicking on the button kept inside the Update Panel, we set a delay of 3 seconds.
To display progress to the user, we handle the Initialize Request at the client side and set the to visible.
This shows up the image with the progress as shown below.
I am wondering how the Update Parameters get their values set, since I only specify a name?
The procedure P_TECT_UPD_EXAM_ID expects two parameters as input: "in_MPID" and "in_User Id" I am also wondering how to map those values to the input parameters for the procedure as the names are different?
In this article, we will study three different techniques that allow you to visually display progress to users while performing partial-page updates using the Update Panel.
For all the three approaches, I have used a image to show a spinning gear kind of a progress bar while the Update Panel is performing some action.