Intersoft WebGrid Documentation
Delete Field
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > PostBackAction Class : Delete Field






Indicates delete action is being executed in FlyPostBack mode.

Syntax

Visual Basic (Declaration) 
Public Const Delete As String
Visual Basic (Usage)Copy Code
Dim value As String
 
value = PostBackAction.Delete
C# 
public const string Delete
Delphi 
public field Delete: String; Const 
JScript 
public constvar Delete : String;
Managed Extensions for C++ 
public: const string* Delete
C++/CLI 
public:
const String^ Delete

Example

The following example shows you how to display a message box when users delete a row in the FlyPostBack mode.

[C#]

private void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)
{
    if (e.Action == PostBackAction.Delete)
    {
       WebGrid1.ClientAction.Alert("Row Deleted")

    }

}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.