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 column type in a control to create a hyperlink for each row in the . Set the property to specify the caption text for the hyperlink. To specify the URL to link to when the hyperlink is clicked, set the property. If you set the and properties, all hyperlinks in the column will share the same caption and URL. You can also bind the text caption and URL of the hyperlinks in the to a field in a data source instead of setting the and properties. This allows you to display a different caption and to specify a different URL for each hyperlink in the column. Use the property to specify a field in a data source to bind to the text caption of the hyperlinks in the column. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. Specify the field to bind to the URL of the hyperlink by setting the property. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. The property allows you to specify the window or frame to display the Web page content linked to when the hyperlink is clicked. When using data binding, you can format the text caption and URL of the hyperlink by setting the and properties, respectively. This control 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 ControlsHow to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings, and Introduction to Validating User Input in ASP.NET Web Pages. A column type for the control that contains a hyperlink for each item in the column. 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.String To be added: an object of type 'string' Use the property to specify the field from a data source to bind to the URL of the hyperlinks in the . When the URL is data bound to a field, the URL of each hyperlink in the column is set with a corresponding value in the specified field. This allows you to set a different URL for each hyperlink in the column. To specify the same URL for each row in the column, set the property instead of this property. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. When you are using data binding, you can specify a custom display format for the URL of the hyperlinks by setting the property. Gets or sets the field from a data source to bind to the URL of the hyperlinks in the . 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("") Property System.String To be added: an object of type 'string' Use the property to provide a custom display format for the URL of the hyperlinks in the . The specified format is only applied to the URL when the URL is data-bound to a field in a data source. Specify the field to bind to the URL of the hyperlinks in the column by setting the property. For information on the syntax of formatting strings, see . Gets or sets the display format for the URL of the hyperlinks in the when the URL is data-bound to a field in a data source. 1.0.5000.0 2.0.0.0 System.ComponentModel.Description("The formatting applied to the value bound to the NavigateUrl property.") System.ComponentModel.DefaultValue("") Property System.String To be added: an object of type 'string' Use the property to specify the field name from a data source to bind to the text caption of the hyperlinks in . When the text caption is data bound to a field, the text caption of each hyperlink in the column is set with a corresponding value in the specified field. This allows you to set a different text caption for each hyperlink in the column. To specify the same text caption for each row in the column, set the property instead of this property. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. When you using data binding, you can specify a custom display format for the text caption of the hyperlinks by setting the property. Gets or sets the field from a data source to bind to the text caption of the hyperlinks in the . 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("") Property System.String To be added: an object of type 'string' Use the property to provide a custom display format for the text caption of the hyperlinks in the . The specified format is applied to the text caption only when the text caption is data bound to a field in a data source. Specify the field to bind to the text caption of the hyperlinks in the column by setting the property. For information on the syntax of formatting strings, see . Gets or sets the display format for the text caption of the hyperlinks in the column. 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("") System.ComponentModel.Description("The formatting applied to the value bound to the Text property.") Method System.String To be added: an object of type 'object' Use the method to format a data-bound URL value with the format specified by the property. Formats a data-bound URL using the format specified by the property. The data-bound URL in the format specified by the property. 1.0.5000.0 2.0.0.0 Method System.String To be added: an object of type 'object' Use the method to format a data-bound text caption value with the format specified by the property. Formats a data-bound text caption using the format specified by the property. The data-bound text caption in the format specified by the property. 1.0.5000.0 2.0.0.0 Method System.Void To be added To be added 1.0.5000.0 2.0.0.0 Method System.Void To be added. To be added. HyperLinks are created for all items in the DataGrid except the Header and Footer items. Initializes the cell representing this column with the contained hyperlink. The cell to be initialized. 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 URL to link to when a hyperlink in the column is clicked. When this property is set, all hyperlinks in the column share the same URL link. To provide a separate URL for each hyperlink in the column, use the property. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. Gets or sets the URL to link to when a hyperlink in the column is clicked. 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("") Property System.String To be added: an object of type 'string' Use the property to specify the frame or window that displays the Web page linked to when a hyperlink in the column is clicked. If this property is not set, the browser or window with focus refreshes when a hyperlink in the column is clicked. The property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the property if the rendered output for the must be XHTML 1.1 compliant. For more information, refer to the topic ASP.NET and XHTML Compliance. When creating accessible Web pages, it is strongly recommended you avoid using the property to target another window. For more information, see ASP.NET Accessibility. The value must begin with a letter in the range of A to Z (case-insensitive), except for the following special values, which begin with an underscore. Target value Description _blank Renders the content in a new window without frames. _parent Renders the content in the immediate frameset parent. _search Renders the content in the search pane. _self Renders the content in the frame with focus. _top Renders the content in the full window without frames. Check your browser documentation to determine if the _search value is supported. For example, Internet Explorer 5.0 and above support the _search target value. Gets or sets the target window or frame to display the Web page content that is linked to when the hyperlink in the column is clicked. 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("") Property System.String To be added: an object of type 'string' Use the property to specify the text caption to display for the hyperlinks in the column. When this property is set, all hyperlinks in the column share the same text caption. To provide a separate text caption for each hyperlink in the column, use the property. The and properties cannot both be set at the same time. If both properties are set, the property takes precedence. Text is not HTML encoded before it is displayed in the . This makes it possible to embed script within HTML tags in the text. If the values for this column come from user input, be sure to validate the values to reduce security vulnerabilities. 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 caption to display for the hyperlinks in the column. 1.0.5000.0 2.0.0.0 System.ComponentModel.DefaultValue("")