﻿<?xml version="1.0" encoding="utf-8"?><Type Name="HtmlInputHidden" FullName="System.Web.UI.HtmlControls.HtmlInputHidden"><TypeSignature Language="C#" Maintainer="auto" Value="public class HtmlInputHidden : System.Web.UI.HtmlControls.HtmlInputControl, System.Web.UI.IPostBackDataHandler" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyPublicKey></AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Web.UI.HtmlControls.HtmlInputControl</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Web.UI.IPostBackDataHandler</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Web.UI.SupportsEventValidation</AttributeName></Attribute><Attribute><AttributeName>System.ComponentModel.DefaultEvent("ServerChange")</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can use the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control to embed information that is hidden from the user within a &lt;form&gt; element. This information is sent when the Web page is posted back to the server. The <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control provides a <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event that is raised when the <see cref="P:System.Web.UI.HtmlControls.HtmlInputControl.Value" /> property changes values between posts to the server. This allows you to create an event handler that performs a custom set of instructions each time the event is raised.</para><block subset="none" type="note"><para>The <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control does not provide a built-in way to post back to the server. You must provide another control on the Web page that supports posting to the server, such as an <see cref="T:System.Web.UI.HtmlControls.HtmlButton" /> control, to send the value of the control back to the server.</para></block><block subset="none" type="note"><para>The ASP.NET page framework uses this HTML feature to automatically load and persist the view state of server controls on a page.</para></block><para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" />, see the <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.#ctor" /> constructor.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Allows programmatic access to the HTML &lt;input type=hidden&gt; element on the server.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public HtmlInputHidden ();" /><MemberType>Constructor</MemberType><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> class.</para><para>The following table shows the initial property value for an instance of <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" />.</para><list type="table"><listheader><item><term><para>Property </para></term><description><para>Initial Value </para></description></item></listheader><item><term><para><see cref="P:System.Web.UI.HtmlControls.HtmlInputControl.Type" /></para></term><description><para>The "hidden" literal string. </para></description></item></list></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="LoadPostData"><MemberSignature Language="C#" Value="protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="postDataKey" Type="System.String" /><Parameter Name="postCollection" Type="System.Collections.Specialized.NameValueCollection" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> method checks to see whether the postback value of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control is different from the previous value, and if so, returns true. </para><para>The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> method is used primarily by control developers extending the functionality of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Processes the postback data for the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control's state has changed as a result of the postback; otherwise, false.</para></returns><param name="postDataKey"><attribution license="cc4" from="Microsoft" modified="false" />The key identifier for the control.</param><param name="postCollection"><attribution license="cc4" from="Microsoft" modified="false" />The collection of all incoming name values.</param></Docs></Member><Member MemberName="OnPreRender"><MemberSignature Language="C#" Value="protected override void OnPreRender (EventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.EventArgs" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.OnPreRender(System.EventArgs)" /> method is called just prior to rendering the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control. The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.OnPreRender(System.EventArgs)" /> method is used primarily by control developers extending the functionality of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Web.UI.Control.PreRender" /> event.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains event data.</param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnServerChange"><MemberSignature Language="C#" Value="protected virtual void OnServerChange (EventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.EventArgs" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event is raised when the <see cref="P:System.Web.UI.HtmlControls.HtmlInputControl.Value" /> property is changed on the server.</para><block subset="none" type="note"><para>The control must have view state enabled for the <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event to work correctly.</para></block><para>Raising an event invokes the event handler through a delegate. For more information, see <format type="text/html"><a href="F2ADAF01-1ED1-42E1-8C31-8D467E7E0EE2">Raising an Event</a></format>.</para><para>The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.OnServerChange(System.EventArgs)" /> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event. This method allows you to handle the event directly.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.EventArgs" /> that contains event data. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="RaisePostDataChangedEvent"><MemberSignature Language="C#" Value="protected virtual void RaisePostDataChangedEvent ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.RaisePostDataChangedEvent" /> method is used primarily by control developers to extend the functionality of the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Calls the <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.OnServerChange(System.EventArgs)" /> method to signal the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control that the state of the control has changed.</para></summary></Docs></Member><Member MemberName="RenderAttributes"><MemberSignature Language="C#" Value="protected override void RenderAttributes (System.Web.UI.HtmlTextWriter writer);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="writer" Type="System.Web.UI.HtmlTextWriter" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Renders the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control's attributes to the specified <see cref="T:System.Web.UI.HtmlTextWriter" /> object.</para></summary><param name="writer"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.HtmlTextWriter" /> that contains the output stream to render on the client.</param></Docs></Member><Member MemberName="ServerChange"><MemberSignature Language="C#" Value="public event EventHandler ServerChange;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event is raised when the <see cref="P:System.Web.UI.HtmlControls.HtmlInputControl.Value" /> property is changed between posts to the server.</para><block subset="none" type="note"><para>The control must have view state enabled for the <see cref="E:System.Web.UI.HtmlControls.HtmlInputHidden.ServerChange" /> event to work correctly.</para></block><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">Consuming Events</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the <see cref="P:System.Web.UI.HtmlControls.HtmlInputControl.Value" /> property is changed on the server.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="System.Web.UI.IPostBackDataHandler.LoadPostData"><MemberSignature Language="C#" Value="bool IPostBackDataHandler.LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="postDataKey" Type="System.String" /><Parameter Name="postCollection" Type="System.Collections.Specialized.NameValueCollection" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Implements the <see cref="M:System.Web.UI.IPostBackDataHandler.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> interface method by calling the <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.LoadPostData(System.String,System.Collections.Specialized.NameValueCollection)" /> method.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the <see cref="T:System.Web.UI.HtmlControls.HtmlInputHidden" /> control's state has changed as a result of the postback; otherwise, false.</para></returns><param name="postDataKey"><attribution license="cc4" from="Microsoft" modified="false" />The key identifier for the control.</param><param name="postCollection"><attribution license="cc4" from="Microsoft" modified="false" />The collection of all incoming name values.</param></Docs></Member><Member MemberName="System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent"><MemberSignature Language="C#" Value="void IPostBackDataHandler.RaisePostDataChangedEvent ();" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Implements the <see cref="M:System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent" /> interface method by calling the <see cref="M:System.Web.UI.HtmlControls.HtmlInputHidden.RaisePostDataChangedEvent" /> method.</para></summary></Docs></Member></Members></Type>