Solved

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

Posted on 2010-11-22
4
5,287 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 56

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 56

Expert Comment

by:HainKurt
ID: 34191855
0
 
LVL 56

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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