Click or drag to resize

EAPUtilRegisterHiddenField Method (Page, String, String)

Create a hidden control on the page. This method should be used instead of the .Net Page.RegisterHiddenField() method if the value will need to be accessed on the client because the .Net method (as of v1.1) does not set an id attribute on the field. That's OK w/ Internet Explorer, but makes the field unavailable to javascript in Firefox.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static HtmlInputHidden RegisterHiddenField(
	Page page,
	string name,
	string value
)

Parameters

page
Type: System.Web.UIPage
The page on which to register the hidden field.
name
Type: SystemString
The name for the field. This will also be used for the field's id.
value
Type: SystemString
The value for the field.

Return Value

Type: HtmlInputHidden
The newly created hidden input if successfully created and added to page.
See Also