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






Indicates AddRow action is being executed in FlyPostBack mode.

Syntax

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

Example

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

[C#]

private void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)
{
    if (e.Action == PostBackAction.AddRow)
    {
       WebGrid1.ClientAction.Alert("New row added")

    }

}

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.