I have a radgrid which displays data that is entered from rad editor. The problem is that the grid shows several char values instead of the way it was entered.
The grid is bound from code being and I dont have an option to set the format of the column to HTMLEditorColumn in desing view. I was thinking to do this in code behind but did not know how to do that.
can you please provide some light on the same
general structure of the code is
RadGrid1.DataSource = DataTable
RadGrid1.DataBind()
For z = 0 To RadGrid1.MasterTableView.RenderColumns.Count - 1
If <some condition to identify column> then
RadGrid1.MasterTableView.RenderColumns(z). -- what should the code be here to set the correct format of the column
End if
Next
Also, can this be done in the pre-render event or does this need to be done somewhere else. Any help provided will be much appreciated.
The grid is bound from code being and I dont have an option to set the format of the column to HTMLEditorColumn in desing view. I was thinking to do this in code behind but did not know how to do that.
can you please provide some light on the same
general structure of the code is
RadGrid1.DataSource = DataTable
RadGrid1.DataBind()
For z = 0 To RadGrid1.MasterTableView.RenderColumns.Count - 1
If <some condition to identify column> then
RadGrid1.MasterTableView.RenderColumns(z). -- what should the code be here to set the correct format of the column
End if
Next
Also, can this be done in the pre-render event or does this need to be done somewhere else. Any help provided will be much appreciated.