ScriptRegistrar - класс |
Пространство имён: Telerik.Web.Mvc.UI
public class ScriptRegistrar : IScriptableComponentContainer
Тип ScriptRegistrar предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| ScriptRegistrar |
Initializes a new instance of the ScriptRegistrar class.
|
| Имя | Описание | |
|---|---|---|
| AssetHandlerPath |
Gets or sets the asset handler path. Path must be a virtual path. The default value is set to DefaultPath.
| |
| Current | ||
| DefaultGroup |
Gets the default script group.
| |
| EnableGlobalization |
Gets or sets a value indicating whether [enable globalization].
| |
| ExcludeFrameworkScripts |
Gets or sets a value indicating whether [exclude framework scripts].
| |
| FrameworkScriptFileNames |
Gets the framework script file names.
| |
| OnDocumentReadyActions |
Gets the on document ready actions.
| |
| OnDocumentReadyStatements |
Gets the on document ready statements that is used in RenderAction | |
| OnWindowUnloadActions |
Gets the on window unload actions.
| |
| OnWindowUnloadStatements |
Gets the on window unload statements.that is used in RenderAction | |
| OutputScriptFiles | ||
| Scripts |
Gets the scripts that will be rendered in the view.
| |
| ScriptWrapper |
Gets the script wrapper that is used to write the script statements.
| |
| ViewContext |
Gets the view context.
|
| Имя | Описание | |
|---|---|---|
| IsRegistered | ||
| Register |
Registers the scriptable component.
| |
| Render |
Writes the scripts in the response.
| |
| ToHtmlString | ||
| Write |
Writes all script source and script statements.
|
| Имя | Описание | |
|---|---|---|
| Key |
Used to ensure that the same instance is used for the same HttpContext.
|
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |