NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Page.RegisterHiddenField

Allows controls to automatically register a hidden field on the form. The field will be emitted when the form control renders itself.

[Visual Basic]
Overridable Public Function RegisterHiddenField( _
   ByVal hiddenFieldName As String, _
   ByVal hiddenFieldInitialValue As String _
) As Boolean
[C#]
public virtual bool RegisterHiddenField(
   string hiddenFieldName,
   string hiddenFieldInitialValue
);
[C++]
public: virtual bool RegisterHiddenField(
   String* hiddenFieldName,
   String* hiddenFieldInitialValue
);
[JScript]
public function RegisterHiddenField(
   hiddenFieldName : String,
   hiddenFieldInitialValue : String
) : Boolean;

Parameters

hiddenFieldName
The unique name of the hidden field to be rendered.
hiddenFieldInitialValue
[To be supplied.]

Return Value

true if the unique name does not exist; otherwise false.

See Also

Page Class | Page Members | System.Web.UI Namespace