Export (0) Print
Expand All
Expand Minimize

GridView.GetCallbackScript Method

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
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft