Export (0) Print
Expand All
Expand Minimize

GridView.GetCallbackScript Method

Note: This method is new in the .NET Framework version 2.0.

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

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

protected virtual string GetCallbackScript (
	IButtonControl buttonControl,
	string argument
)
protected String GetCallbackScript (
	IButtonControl buttonControl, 
	String argument
)
protected function GetCallbackScript (
	buttonControl : IButtonControl, 
	argument : String
) : String

Parameters

buttonControl

The button control for which to create the callback script.

argument

The arguments to pass to the callback script.

Return Value

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

The GetCallbackScript method is a helper method used by the GridView control to create the callback script for a button that performs a sorting operation.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft