System.Web.UI.WebControls.GridView.GetCallbackScript Method

Creates the callback script for a button that performs a sorting operation.

Syntax

protected virtual string GetCallbackScript (IButtonControl control, string argument)

Parameters

control
Documentation for this section has not yet been entered.
argument
The arguments to pass to the callback script.

Returns

The callback script for a button that performs a sorting operation.

Remarks

The GridView.GetCallbackScript(IButtonControl, string) method is a helper method used by the System.Web.UI.WebControls.GridView control to create the callback script for a button that performs a sorting operation.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0