ScriptRegistrarBuilderOnDocumentReady(Action) - метод

Defines the inline handler executed when the DOM document is ready (using the $(document).ready jQuery event)

Пространство имён:  Telerik.Web.Mvc.UI
Сборка:  Telerik.Web.Mvc (в Telerik.Web.Mvc.dll) Версия: 2011.1.315.340
Синтаксис
C#
public virtual ScriptRegistrarBuilder OnDocumentReady(
	Action onDocumentReadyAction
)

Параметры

onDocumentReadyAction
Тип: Action
The action defining the inline handler

Возвращаемое значение

Тип: ScriptRegistrarBuilder
Примеры
C#
<% Html.Telerik().ScriptRegistrar()
          .OnDocumentReady(() =>
          {
            %>
            function() {
                alert("Document is ready");
            }
            <%
          })
          .Render();
%>
См. также