HtmlInputReset Class

Note: This class is new in the .NET Framework version 2.0.

Allows programmatic access to the HTML <input type=reset> element on the server.

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)

public ref class HtmlInputReset : public HtmlInputButton
public class HtmlInputReset extends HtmlInputButton
public class HtmlInputReset extends HtmlInputButton

The HtmlInputReset class is derived from the HtmlInputButton class and is used to create a button control on a Web page that resets form controls to their initial values. The HtmlInputReset control is often used with the HtmlInputSubmit control, which is used to create a button control that submits the form.

For a list of initial property values for an instance of HtmlInputReset, see the HtmlInputReset constructor.

The following code example demonstrates how to use the HtmlInputReset control to reset the values of a form on a Web page.

No code example is currently available or this language may not be supported.

  • AspNetHostingPermission  for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
  • AspNetHostingPermission  for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: