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

Access selected row's cell

3 Answers 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neelima
Top achievements
Rank 1
Neelima asked on 05 Aug 2011, 01:55 PM
Hi
I have a GridButtonColumn. When this button is clicked I need to access one of the cells in this row on the client side. How do I do this?

Thank you
Neelima

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 05 Aug 2011, 03:24 PM
Hi Neelima,

The help article below demonstrates how to achieve the desired functionality:
http://www.telerik.com/help/aspnet-ajax/grid-getting-cell-values-for-selected-rows-client-side.html

Best wishes,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Neelima
Top achievements
Rank 1
answered on 05 Aug 2011, 04:34 PM
Thanks Pavlina,
I need to call this function on the GridButtonColumn's button click and not when the row is selected.
Are there any client side events for this column?

My Senario:

I have a grid with one of the columns as GridButtonColumn 'Show Map'. When this ShowMap button is clicked I need to access 'Address' field of that row and pass it as parameter to the Radwindow and show it as a model.

Thanks
Neelima
0
Accepted
Pavlina
Telerik team
answered on 05 Aug 2011, 05:20 PM
Hi Neelima,

Check out the forum thread below which elaborates on similar subject and see if it helps to achieve your goal:
http://www.telerik.com/community/forums/aspnet-ajax/grid/identifying-row-selected-by-a-gridbuttoncolumn-click-client-side.aspx

Greetings,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Neelima
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Neelima
Top achievements
Rank 1
Share this question
or