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






Indicates sorting column action is being executed in FlyPostBack mode.

Syntax

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

Example

The following example shows to do column sorting in the FlyPostBack mode.

[C#]

private void WebGrid1_InitializePostBack(object sender, ISNet.WebUI.WebGrid.PostbackEventArgs e)
{
    if (e.Action == PostBackAction.ColumnSort)
    {
       WebGrid1.ClientAction.Alert("Sorting Column")

    }

}

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.