I need to add the below functionality to all my grids
1. If the cell is empty, I need to append a value.
2. I need to get the Grid column width. (width is dynamic. I dint set any width specifically.)
I have inherited the RadGrid control and it executes both ItemDatabound/PreRender handler.
If I add the string, all the strings left empty. I tried the below code
protected override void OnPreRender(EventArgs e)
{
ControlHelper.RegisterScriptFile("~/App/script/NCRadGrid.js");
foreach (GridItem item in MasterTableView.Items)
{
foreach (TableCell cell in item.Cells)
{
cell.Text += " ";
}
}