Onupdating gridview kaspersky slow updating

In our case, we are displaying a image progress as shown below The Update Panel Animation control can also be used to visually display progress to the users while the Update Panel is performing some operation. NET AJAX documentation “The Update Panel Animation Extender is a simple extender that allows you to utilize the powerful animation framework with existing pages in an easy, declarative fashion.It is used to play animations both while an Update Panel is updating and after it has finished updating”.

onupdating gridview-86

For understanding purposes, we have emulated a time consuming operation by setting a delay of 3 seconds by using Thread. In the code shown above, we use the Associated Update Panel ID property of the Update Progress control to associate it with an Update Panel control.

The Progress Template property that can contain HTML, is used to specify the message displayed by an Update Progress control.

The technique of hiding and showing the image also remains the same as we had discussed in Method 1.

The entire source code and mark up is as shown below: Well those were the three different methods of displaying progress to the user while the Update Panel updates its contents.

Luckily in the Grid View Updated Event Args we can get the updated row’s Data Key Names (which in this case is ‘Id’).

This is likely because this event takes place after the database Save has taken place.

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.

Again, this is not as easy a task as one might imagine.

Tags: , ,