This is a migrated thread and some comments may be shown as answers.

Adding a progress bar to a DeleteCommand action in GridButtonColumn

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 05 Aug 2010, 10:42 PM
I have a RadGrid in which one of the columns is a Delete column that removes the record it is associated with.  I notice there is a few seconds of lag time between the time I click the Delete button and when the page refreshes to actually show the grid with the record removed, I would like to include some type of progress bar or other icon that displays in that span of time between clicking and page refresh so that users aren't tempted to navigate away from the page while the record is being deleted.  The GridButtonColumn for performing this operation is outlined below.

<telerik:GridButtonColumn HeaderText="Drop Ticket" Text="Drop" CommandName="Delete" UniqueName="Drop" ConfirmText="Are you sure you want to drop this ticket?" ConfirmTitle="Drop Ticket" ConfirmDialogType="RadWindow" >
</telerik:GridButtonColumn>

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 11 Aug 2010, 08:20 AM
Hello Richard,

One possible option is to AJAX-ify your grid and show a RadAjaxLoadingPanel during the delete command processing. The following online example demonstrates this approach:

Automatic Operations

I hope this helps.

Regards,
Martin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Richard
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or