Asp net gridview onupdating

This shows up the image with the progress as shown below.The button that caused the postback is disabled during this event, so in order to prevent users from hitting the button again.To enable editing, set the Auto Generate Edit Button property to true and specify the Data Key Names as the primary key of your table.

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.

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.

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.

The image can be found with the source code for this article over here.

Leave a Reply