Click or drag to resize

JSHelperEnsureDoPostBack Method

Ensures that .Net registers a __doPostBack method on the page. Normally .Net only registers __doPostBack if the page contains at least one control that invokes a postback. Typically this is fine, however, when rendering custom HTML that wants to use __doPostBack you should call this method to ensure that .Net registers the method on the page.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void EnsureDoPostBack(
	Page page
)

Parameters

page
Type: System.Web.UIPage
The page.
See Also