Skip to content

HiddenField

The HiddenField component is meant to emulate the asp:HiddenField control in markup and is defined in the System.Web.UI.WebControls.HiddenField class

Blazor Features Supported

  • Value the value of the hidden field component.
  • OnValueChanged Occurs when the value of the HiddenField component changes between posts to the server.

WebForms Syntax

<asp:HiddenField
    EnableTheming="True|False"
    EnableViewState="True|False"
    ID="string"
    OnDataBinding="DataBinding event handler"
    OnDisposed="Disposed event handler"
    OnInit="Init event handler"
    OnLoad="Load event handler"
    OnPreRender="PreRender event handler"
    OnUnload="Unload event handler"
    OnValueChanged="ValueChanged event handler"
    runat="server"
    SkinID="string"
    Value="string"
    Visible="True|False"
/>

Last update: 2020-08-02 15:49:29