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

get cell value from same RadGrid row item in other Item Template cell

1 Answer 279 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hossein
Top achievements
Rank 1
Hossein asked on 07 Nov 2016, 08:02 AM

Hello

I have a grid, which I want to get the cell data (Data Bounded) of different column and same row when I click a RadComboBox  (Item template). and use it in ItemRequested server side event.

I don't know how to access the data bounded cell when clicking the combo box in client side.

I appreciate your help.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 10 Nov 2016, 06:54 AM
Hi Hossein,

You can examine the RadGridEditComboClientHideModified.zip web site sample provided in the following post:
http://www.telerik.com/forums/how-to-change-and-get-value-from-a-dropdownlist-in-a-radgrid-column#jIjRiaOYhkucLZ82pztwow

The main point here is that you need the index of the row on client-side. Once you have the Telerik client-side object of the item, you can use the approaches demonstrated here to access the values:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-cells-and-values-in-client-side-code

I hope this will prove helpful.


Regards,
Eyup
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Grid
Asked by
Hossein
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or