Telerik Extensions for ASP.NET MVC

Defines the name of the JavaScript function that will handle the the OnDataBound client-side event.

Namespace: Telerik.Web.Mvc.UI.Fluent
Assembly: Telerik.Web.Mvc (in Telerik.Web.Mvc.dll) Version: 2012.2.611.235 (2012.2.611.235)

Syntax

C#
public GridClientEventsBuilder OnDataBound(
	string onDataBoundHandlerName
)
JavaScript
function OnDataBound(onDataBoundHandlerName);

Parameters

onDataBoundHandlerName
Type: System..::..String
The name of the JavaScript function that will handle the event.

Examples

CopyC#
 <%= Html.Telerik().Grid(Model)
            .Name("Grid")
            .ClientEvents(events => events.OnDataBound("onDataBound"))
%>

See Also