How can I display an htmlcode inside a colum?
I have this:
I need to render the "<br />" tag generated by the sqldatasource. I see the text <br /> in the grid, instead of the break.
I have this:
<
telerik:GridDropDownColumn
UniqueName
=
"elementocostosrowid"
DataField
=
"elementocostosrowid"
HeaderText="Categoria -<br />Elemento Costos" DataSourceID="sqlElementoCosto" ListTextField="dummy2"
ListValueField="rowid" SortExpression="elementocostosrowid"
DropDownControlType="DropDownList">
</
telerik:GridDropDownColumn
>
<
asp:SqlDataSource
ID
=
"sqlElementoCosto"
ConnectionString="<%$ ConnectionStrings:GolosaNETConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT a.rowid,b.descripcion + '[' + CONVERT(varchar(5),b.categoria)+']<br />' + a.descripcion + '[' + CONVERT(varchar(5),a.elementocostos)+']' as dummy2 FROM tbl01ElementoCostos a, tbl01ElementoCostosCategoria b WHERE a.elementocostoscategoriarowid=b.rowid" runat="server">
</
asp:SqlDataSource
>
I need to render the "<br />" tag generated by the sqldatasource. I see the text <br /> in the grid, instead of the break.