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

row action question

4 Answers 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nebras
Top achievements
Rank 1
Nebras asked on 10 Mar 2011, 08:15 AM
Hello, all
in this demo
http://demos.telerik.com/aspnet-mvc/grid/selectionserverside/AROUT?Customers-mode=select
what is that line of code mean?

    .RowAction(row => row.Selected = row.DataItem.CustomerID.Equals(ViewData["id"]))

4 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 10 Mar 2011, 08:25 AM
Hello Nebras ,

It set the row which dataItem matches the selected customer as selected.

Best wishes,
Rosen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nebras
Top achievements
Rank 1
answered on 10 Mar 2011, 08:38 AM
but this line cause this problem for me
http://www.telerik.com/community/forums/aspnet-mvc/grid/selected-row-color.aspx
and the problem is solved when i remove that line
0
Rosen
Telerik team
answered on 10 Mar 2011, 01:46 PM
Hi Nebras ,

You should verify that the correct arguments are used in the event handler. If you continue to experiencing difficulties, please consider sending us a small runnable project in which the behavior can be observed.

Regards,
Rosen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Nate
Top achievements
Rank 1
answered on 06 May 2011, 07:26 PM
this is to Telerik Admin
So do you have to be a paid member to get responses from Telerik? I am just wondering if anyone gets answers in the forum who have not purchased the product yet. We will e buying it but a little help would guarantte this.
Tags
Grid
Asked by
Nebras
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Nebras
Top achievements
Rank 1
Nate
Top achievements
Rank 1
Share this question
or