Solved

ASP.NET - Telerik RadGrid get selected row ID on client

Posted on 2010-11-22
4
5,151 Views
Last Modified: 2012-05-10
I'm working with the Telerik RadGrid control.  AllowMultiRowSelection is set to true.  I've got a javascript method that is run when a client side event is fired and in this method I need to retrieve the row id for each of the selected rows in the radgrid.  The Telerik documentation seems less than helpful.

Is anyone familiar with Telerik enough to help me through this issue?

Thanks,
0
Comment
Question by:JosephEricDavis
  • 3
4 Comments
 
LVL 51

Accepted Solution

by:
HainKurt earned 500 total points
ID: 34191853
I guess you should get this file and start reading

http://www.telerik.com/documents/RadControlsForASP.NET.AJAX.zip
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 34191855
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 34191885
get_selectedItems()

Controls > RadGrid > Client-side API Reference > RadGrid > Properties > get_selectedItems()

Property which returns an array of the grid rows selected on the client (and all sub levels in hierarchical grid structure).

function getGridSelectedItems()
{
  var grid= $find("<%= RadGrid1.ClientID %>")
  var gridSelectedItems = grid.get_selectedItems();
}
0
 
LVL 7

Author Comment

by:JosephEricDavis
ID: 34192342
Cool, I got it figured out.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now