This documentation is archived and is not being maintained.
ButtonField::CreateField Method
Visual Studio 2010
Creates and returns a new instance of the ButtonField class.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System.Web.UI.WebControls::DataControlFieldA new instance of the ButtonField class.
The CreateField method is a helper method that is used by the CloneField method of the base class to create an empty ButtonField object to which to copy the properties of the current ButtonField-derived object.
Notes to InheritorsOverride the CreateField method to return a new instance of the derived class. Do not call the CreateField method of the base class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: