Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-22
4
Medium Priority
?
5,317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 59

Accepted Solution

by:
HainKurt earned 2000 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 59

Expert Comment

by:HainKurt
ID: 34191855
0
 
LVL 59

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

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 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