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






Indicates update action is being executed in FlyPostBack mode.

Syntax

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

Example

The following example shows you how to display a message box when users update a value on the grid in the FlyPostBack mode.

[C#]

private void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)
{
    if (e.Action == PostBackAction.Update)
    {
       WebGrid1.ClientAction.Alert("Data Updated")

    }

}

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.