This is a migrated thread and some comments may be shown as answers.

[Solved] Reading the GridBoundColumn Value in Server Side

1 Answer 264 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Arvind Singh
Top achievements
Rank 2
Arvind Singh asked on 11 Sep 2009, 02:53 PM
Hi

I am setting the value of one of my GridBoundColumn in Client Side , that is getting displayed after setting, but I am not able to read the set value in server side. Below is my code snippet. Please let me know where i am getting wrong?

<!-- Setting value in Client Side -->

masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[i],

"ColumnUniqueName").innerText = "someText";

-----------------------------------------

Reading Server side in _NeedDataSource Event.....

 

string

 myVal = item["ColumnUniqueName"].Text.ToString();

 

 

myVal is coming &nbsp; for the GridBoundColumn which value is set through client side.

Please help.

Thanks in advance.
Arvind

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Sep 2009, 07:55 AM
Hi Aravind,

Since you are setting the cell value from the client side you wont be able to access the changed text in the server side. Because in the server side it retrieves the data from the DataSource of RadGrid. So one suggestion will be to modify the cell text from server side.
Accessing cells and rows

Regards
Princy
Tags
Grid
Asked by
Arvind Singh
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or