System.Web 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Web.UI.WebControls.DataGridColumn Use the class to create a special column for the control that contains the Edit, Update, and Cancel buttons for each data row in the grid. These buttons allow you to edit the values of a row in the control. If no row is selected, an Edit button displays in the object for each data row in the control. When the Edit button for an item is clicked, the event is raised and the Edit button is replaced with the Update and Cancel buttons. You need to provide code to handle the event. A typical event handler sets the property to the selected row, and then rebinds the data to the control. You must provide values for the , , and properties. Otherwise, the associated buttons will not appear in the . The buttons in the can be set to display as hyperlinks or push buttons by setting the property. Clicking the Update or Cancel button raises the or event, respectively. You need to provide code to handle these events. A typical handler for the event updates the data, sets the property to -1 (to deselect the item), and then rebinds the data to the control. A typical handler for the event sets the property to -1 (to deselect the item), and then rebinds the data to the control. The object can be used to display user input, which might include malicious client script. Check any information that is sent from a client for executable script, SQL statements, or other code before displaying it in your application. You can use validation controls to verify user input before displaying the input text in a control. ASP.NET provides an input request validation feature to block script and HTML in user input. For more information, see Securing Standard Controls, How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings, and Validating User Input in ASP.NET Web Pages. By default, page validation is performed when an Update button in the control is clicked. Page validation determines whether the input controls that are associated with a validation control on the page all pass the validation rules that are specified by the validation control. To prevent page validation from occurring, set the property to false. A special column type for the control that contains the Edit buttons for editing data items in each row. Constructor Use this constructor to create and initialize a new instance of the class. Initializes a new instance of the class. 1.0.5000.0 2.0.0.0 Property System.Web.UI.WebControls.ButtonColumnType To be added: an object of type 'ButtonColumnType' Use the property to specify whether the buttons in the column display as push buttons or hyperlinks. The value of this property is stored in view state. Gets or sets the button type for the column. 1.0.5000.0 2.0.0.0 Property System.String To be added: an object of type 'string' Use the property to specify the text to display for the Cancel command button in the . You must provide a value for the property. Otherwise, the Cancel command button will not appear in the . The value of this property is stored in view state. The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization. Gets or sets the text to display for the Cancel command button in the . 1.0.5000.0 2.0.0.0 System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue("") Property 2.0.0.0 System.ComponentModel.DefaultValue(true) System.Boolean To be added. By default, page validation is performed when an Update button in a control is clicked. Page validation determines whether the input controls that are associated with a validation control on the page all pass the validation rules that are specified by the validation control. You can specify or determine whether validation is performed on both the client and the server when an Update button in an control is clicked by using the property. To prevent validation from being performed, set the property to false. When the value of the property is set to true, you can also use the property to specify the name of the validation group for which an Update button in the object causes validation. The value of this property is stored in view state. Gets or sets a value indicating whether validation is performed when an Update button in the object is clicked. Property System.String To be added: an object of type 'string' Use the property to specify the text to display for the Edit button in the control. You must provide a value for the property. Otherwise, the Edit button will not appear in the . The value of this property is stored in view state. The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization. Gets or sets the text to display for the Edit button in the . 1.0.5000.0 2.0.0.0 System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue("") Method System.Void To be added Initializes a cell within the column. A that contains information about the cell to initialize. The column number where the cell is located. One of the values. 1.0.5000.0 2.0.0.0 Property System.String To be added: an object of type 'string' Use the property to specify the text to display for the Update command button in the . You must provide a value for the property. Otherwise, the Update command button will not appear in the . The value of this property is stored in view state. The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization. Gets or sets the text to display for the Update command button in the . 1.0.5000.0 2.0.0.0 System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue("") Property 2.0.0.0 System.ComponentModel.DefaultValue("") System.String To be added. Validation groups allow you to assign validation controls on a page to a specific category. Each validation group can be validated independently of other validation groups on the page. Use the property to specify the name of the validation group for which the Update button in an object causes validation when it posts back to the server. The property has an effect only when the value of the property is set to true. When you specify a value for the property, only the validation controls that are part of the specified group are validated when the Update button in an object posts back to the server. If you do not specify a value for the property and the property is set to true, all validation controls on the page that are not assigned to a validation group are validated when the Update button in an object posts back to the server. The value of this property is stored in view state. Gets or sets the group of validation controls for which the object causes validation when it posts back to the server.