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






Indicates custom action is being executed in FlyPostBack mode.

Syntax

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

Example

The example below shows you how to refresh grid using client action while the grid performing OnTheFly Postback

private void WebGrid1_InitializePostBack(object sender,
ISNet.WebUI.WebGrid.PostbackEventArgs e)
{
    if (e.Action == PostBackAction.Custom)
    {
        WebGrid1.ClientAction.Refresh();
    }
}

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.