RadGrid for ASP.NET

RadGrid Send comments on this topic.
GridClientDeleteColumn Class
See Also  Members  
Telerik.WebControls Namespace : GridClientDeleteColumn Class


A special type of GridButtonColumn, including a delete buttons in each row. It provides the functionality of erasing records client-side, without making a round trip to the server.

Object Model


 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Class GridClientDeleteColumn 
   Inherits GridButtonColumn
Visual Basic (Usage)Copy Code
Dim instance As GridClientDeleteColumn
C# 
public class GridClientDeleteColumn : GridButtonColumn 

Example

            <rad:GridClientDeleteColumn ConfirmText="Are you sure you want to delete the selected row?" HeaderStyle-Width="35px" ButtonType="ImageButton" ImageUrl="~/RadControls/Grid/Skins/WebBlue/Delete.gif" />
                

Remarks

This optimizes the performance and the source data is automatically refreshed on the subsequent post to the server. The user experience is improved because the delete action is done client-side and the table presentation is updated immediately.

Its ConfirmText property can be assigned like with the default GridButtonColumn showing a dialog which allows the user to cancel the action.

Inheritance Hierarchy

System.Object
   Telerik.WebControls.GridColumn
      Telerik.WebControls.GridButtonColumn
         Telerik.WebControls.GridClientDeleteColumn

Requirements

Namespace: Telerik.WebControls

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: RadGrid (in RadGrid.dll)

See Also