Skip to content

Commit 03fd1bf

Browse files
committed
docs(grid): update Column types link Grid Security article
1 parent 40ace47 commit 03fd1bf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

controls/grid/columns/column-types.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,11 @@ You can find information about binding **RadAutoCompleteBox** in this help artic
154154

155155
**GridBoundColumn** displays a table view column bound to a field in the data source of the table view that contains it. To bind this column type to a field, set its **DataField** property to the name of a field.
156156

157-
This column supports editing of its data (it implements the **IGridEditableColumn** interface) and provides, by default, **GridTextBoxColumnEditor** as a column editor to allow editing the text for each cell. It also exposes the **HtmlEncode** property (its default value is **False**) which specifies whether the text in the corresponding cell will be encoded automatically or not when displayed in the browser. You can find more information about the nature of HTML encoding here:
157+
This column supports editing of its data (it implements the **IGridEditableColumn** interface) and provides, by default, **GridTextBoxColumnEditor** as a column editor to allow editing the text for each cell.
158158

159-
[https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx](https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx)
159+
It also exposes the **HtmlEncode** property (its default value is **False**) which specifies whether the text in the corresponding cell will be encoded automatically or not when displayed in the browser. Setting the HtmlEncode property to True is recommended to avoid *Cross-Site Scripting (XSS)*, see [RadGrid Security]({%slug grid/security%}).
160+
161+
You can find more information about the nature of HTML encoding here: [https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx](https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx)
160162

161163
Moreover, the built-in **GridBoundColumn** has an **EmptyDataText** property, which specifies the text that will be displayed in the column cell when it has an empty/null value retrieved from the data source.
162164

@@ -452,6 +454,9 @@ This column type is editable (implements the **IGridEditableColumn** interface)
452454
</telerik:GridHTMLEditorColumn>
453455
````
454456

457+
It also exposes the **HtmlEncode** property (its default value is **False**) which specifies whether the text in the corresponding cell will be encoded automatically or not when displayed in the browser. Setting the HtmlEncode property to True is recommended to avoid *Cross-Site Scripting (XSS)*, see [RadGrid Security]({%slug grid/security%}).
458+
459+
You can find more information about the nature of HTML encoding here: [https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx](https://msdn.microsoft.com/en-us/library/system.web.httpserverutility.htmlencode.aspx)
455460

456461

457462
>note See the **[GridTemplateColumn](#gridtemplatecolumn)** section below for a comparison between **GridHTMLEditorColumn** and a template column that contains a **RadEditor** control.

0 commit comments

Comments
 (0)