Поделиться через


ViewPage.InitHelpers Method

Initializes the Ajax, Html, and Url properties.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overridable Sub InitHelpers
public virtual void InitHelpers()
public:
virtual void InitHelpers()

Remarks

This method initializes the Ajax, property using a new AjaxHelper<TModel> object, and initializes the Html property using a new UrlHelper object.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace