Freigeben über


ViewPage<TModel>.InitHelpers Method

Instantiates and initializes the Ajax and Html properties.

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

Syntax

'Declaration
Public Overrides Sub InitHelpers
public override void InitHelpers()
public:
virtual void InitHelpers() override

Remarks

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

See Also

Reference

ViewPage<TModel> Class

System.Web.Mvc Namespace