Hi,
I have a rad grid where all the columns created dynamically from code behind. Some are template columns and others are bound columns. I have a save button which is outside the grid where i need to read the cell values on click event.
But inside the on click event I can't access the mastertableview columns or items.
Eg: radGrid.MasterTableView.Items.Count - this equals to zero. Therefore I can't iterate through the cell values.
The grid is defined on the markup. And I add the dynamically columns on Page_Init(). I'm assigning a dynamically generated DataTable as the datasource for the grid.
I have tried lot of solutions suggested in forums but nothing works. So now I started reading all the cell values from client side and it seems slow. Can somebody help?
Thanks.
I have a rad grid where all the columns created dynamically from code behind. Some are template columns and others are bound columns. I have a save button which is outside the grid where i need to read the cell values on click event.
But inside the on click event I can't access the mastertableview columns or items.
Eg: radGrid.MasterTableView.Items.Count - this equals to zero. Therefore I can't iterate through the cell values.
The grid is defined on the markup. And I add the dynamically columns on Page_Init(). I'm assigning a dynamically generated DataTable as the datasource for the grid.
I have tried lot of solutions suggested in forums but nothing works. So now I started reading all the cell values from client side and it seems slow. Can somebody help?
Thanks.