|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
HiddenField-Klasse
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Der HiddenField-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() | Adapter | |
![]() | AppRelativeTemplateSourceDirectory | |
![]() | BindingContainer | Infrastruktur. |
![]() | ChildControlsCreated | |
![]() | ClientID | |
![]() | ClientIDMode | |
![]() | ClientIDSeparator | |
![]() | Context | |
![]() | Controls | |
![]() | DataItemContainer | |
![]() | DataKeysContainer | |
![]() | DesignMode | |
![]() | EnableTheming | |
![]() | EnableViewState | |
![]() | Events | |
![]() | HasChildViewState | |
![]() | ID | |
![]() | IdSeparator | Infrastruktur. |
![]() | IsChildControlStateCleared | |
![]() | IsTrackingViewState | |
![]() | IsViewStateEnabled | |
![]() | LoadViewStateByID | |
![]() | NamingContainer | |
![]() | Page | |
![]() | Parent | |
![]() | RenderingCompatibility | |
![]() | Site | |
![]() | SkinID | |
![]() | TemplateControl | |
![]() | TemplateSourceDirectory | |
![]() | UniqueID | |
![]() | ValidateRequestMode | |
![]() | Value | |
![]() | ViewState | |
![]() | ViewStateIgnoresCase | |
![]() | ViewStateMode | |
![]() | Visible |
| Name | Beschreibung | |
|---|---|---|
![]() | AddedControl | |
![]() | AddParsedSubObject | |
![]() | ApplyStyleSheetSkin | |
![]() | BeginRenderTracing | |
![]() | BuildProfileTree | Infrastruktur. |
![]() | ClearCachedClientID | Infrastruktur. |
![]() | ClearChildControlState | |
![]() | ClearChildState | |
![]() | ClearChildViewState | |
![]() | ClearEffectiveClientIDMode | Infrastruktur. |
![]() | CreateChildControls | |
![]() | CreateControlCollection | |
![]() | DataBind() | |
![]() | DataBind(Boolean) | |
![]() | DataBindChildren | |
![]() | Dispose | |
![]() | EndRenderTracing | |
![]() | EnsureChildControls | |
![]() | EnsureID | |
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | FindControl(String) | |
![]() | FindControl(String, Int32) | Infrastruktur. |
![]() | Focus | |
![]() | GetDesignModeState | Infrastruktur. |
![]() | GetHashCode | |
![]() | GetRouteUrl(Object) | |
![]() | GetRouteUrl(RouteValueDictionary) | |
![]() | GetRouteUrl(String, Object) | |
![]() | GetRouteUrl(String, RouteValueDictionary) | |
![]() | GetType | |
![]() | GetUniqueIDRelativeTo | |
![]() | HasControls | |
![]() | HasEvents | |
![]() | IsLiteralContent | Infrastruktur. |
![]() | LoadControlState | |
![]() | LoadPostData | |
![]() | LoadViewState | |
![]() | MapPathSecure | |
![]() | MemberwiseClone | |
![]() | OnBubbleEvent | |
![]() | OnDataBinding | |
![]() | OnInit | |
![]() | OnLoad | |
![]() | OnPreRender | |
![]() | OnUnload | |
![]() | OnValueChanged | |
![]() | OpenFile | |
![]() | RaiseBubbleEvent | |
![]() | RaisePostDataChangedEvent | |
![]() | RemovedControl | |
![]() | Render | |
![]() | RenderChildren | |
![]() | RenderControl(HtmlTextWriter) | |
![]() | RenderControl(HtmlTextWriter, ControlAdapter) | |
![]() | ResolveAdapter | |
![]() | ResolveClientUrl | |
![]() | ResolveUrl | |
![]() | SaveControlState | |
![]() | SaveViewState | |
![]() | SetDesignModeState | |
![]() | SetRenderMethodDelegate | Infrastruktur. |
![]() | SetTraceData(Object, Object) | |
![]() | SetTraceData(Object, Object, Object) | |
![]() | ToString | |
![]() | TrackViewState |
| Name | Beschreibung | |
|---|---|---|
![]() | DataBinding | |
![]() | Disposed | |
![]() | Init | |
![]() | Load | |
![]() | PreRender | |
![]() | Unload | |
![]() | ValueChanged |
| Name | Beschreibung | |
|---|---|---|
![]() | FindDataSourceControl | |
![]() | FindFieldTemplate | |
![]() | FindMetaTable |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | IControlBuilderAccessor.ControlBuilder | |
![]() ![]() | IControlDesignerAccessor.GetDesignModeState | |
![]() ![]() | IControlDesignerAccessor.SetDesignModeState | |
![]() ![]() | IControlDesignerAccessor.SetOwnerControl | Infrastruktur. |
![]() ![]() | IControlDesignerAccessor.UserData | |
![]() ![]() | IDataBindingsAccessor.DataBindings | |
![]() ![]() | IDataBindingsAccessor.HasDataBindings | |
![]() ![]() | IExpressionsAccessor.Expressions | |
![]() ![]() | IExpressionsAccessor.HasExpressions | |
![]() ![]() | IParserAccessor.AddParsedSubObject | |
![]() ![]() | IPostBackDataHandler.LoadPostData | Infrastruktur. |
![]() ![]() | IPostBackDataHandler.RaisePostDataChangedEvent | Infrastruktur. |
Einführung
Deklarative 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" />
Sicherheitshinweis |
|---|
<%@ Page language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Sub ValueHiddenField_ValueChanged(ByVal sender As Object, ByVal e As EventArgs) ' Display the value of the HiddenField control. Message.Text = "The value of the HiddenField control is " & ValueHiddenField.Value & "." End Sub </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>HiddenField Example</title> </head> <body> <form id="Form1" runat="server"> <h3>HiddenField Example</h3> Please enter a value and click the submit button.<br/> <asp:textbox id="ValueTextBox" runat="server"/> <br/> <input type="submit" name="SubmitButton" value="Submit" onclick="PageLoad()" /> <br/> <asp:label id="Message" runat="server"/> <asp:hiddenfield id="ValueHiddenField" onvaluechanged="ValueHiddenField_ValueChanged" value="" runat="server"/> </form> </body> </html> <script type="text/javascript"> <!-- function PageLoad() { // Set the value of the HiddenField control with the // value from the TextBox. Form1.ValueHiddenField.value = Form1.ValueTextBox.value; } --> </script>
<%@ Page language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> void ValueHiddenField_ValueChanged (Object sender, EventArgs e) { // Display the value of the HiddenField control. Message.Text = "The value of the HiddenField control is " + ValueHiddenField.Value + "."; } </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>HiddenField Example</title> </head> <body> <form id="Form1" runat="server"> <h3>HiddenField Example</h3> Please enter a value and click the submit button.<br/> <asp:Textbox id="ValueTextBox" runat="server"/> <br/> <input type="submit" name="SubmitButton" value="Submit" onclick="PageLoad()" /> <br/> <asp:label id="Message" runat="server"/> <asp:hiddenfield id="ValueHiddenField" onvaluechanged="ValueHiddenField_ValueChanged" value="" runat="server"/> </form> </body> </html> <script type="text/javascript"> <!-- function PageLoad() { // Set the value of the HiddenField control with the // value from the TextBox. Form1.ValueHiddenField.value = Form1.ValueTextBox.value; } --> </script>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.

