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

RadGrid RowSelected

1 Answer 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sai Charan
Top achievements
Rank 1
Sai Charan asked on 08 Jun 2011, 07:51 AM
Hi All,

I have one functionality where in RadGrid when user clicks on row i am redirecting to another page. I have updated radgrid, before updating i can found ItemType by row.Itemtype property where as after updating i can't getting RowType. Can any one please help in this.

I did like below but no use

function RowSelected(sender, eventArgs)
{
if (($get(eventArgs.get_id()).ItemType == "Item") ||
($get(eventArgs.get_id()).ItemType == "AlternatingItem")) {
var rowTable = $get(eventArgs.get_id()).Owner;
var myIdCell = rowTable.GetCellByColumnUniqueName($get(eventArgs.get_id()), "ID");

I have searched in below link but i did not find suitable solution for me

http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientsideevents/defaultcs.aspx

Thanks in advance.

Thanks,
Sai Charan.M

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 13 Jun 2011, 09:12 AM
Hello Sai,

With RadGrid for ASP.NET AJAX you cannot get the ItemType on the client.
You can see how to refer the selected item and the cell values in the below articles:
http://www.telerik.com/help/aspnet-ajax/grid-onrowselected.html
http://www.telerik.com/help/aspnet-ajax/grid-getting-cell-values-for-selected-rows-client-side.html


Kind regards,
Iana
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
General Discussions
Asked by
Sai Charan
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or