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

[Solved] Getting selected checkbox Values in Controller

3 Answers 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
anjali
Top achievements
Rank 1
anjali asked on 22 Feb 2011, 07:17 PM
Hi ,

   I have requirement to select some records using Checkbox in MVC Telerik  grid and send those values to Database for inserting .
Please help me out how to achieve this one using MVC Telerik Grid and also please let me know how can i persist the selected checkboxes while doing paging .

  I am using server side binding to popualte data in MVC telerik grid

3 Answers, 1 is accepted

Sort by
0
Marina
Top achievements
Rank 1
answered on 22 Jun 2011, 06:16 AM
I have the same problem. ((
0
Atanas Korchev
Telerik team
answered on 22 Jun 2011, 06:55 AM
Hello,

 There are two examples which show how to use checkboxes in the grid:

http://demos.telerik.com/aspnet-mvc/grid/checkboxesajax
http://demos.telerik.com/aspnet-mvc/grid/checkboxesserverside

However checked stated is not persisted during paging. If this is required it should be done manually by persisting the checked records in a JavaScript array and then restoring them once the grid is bound. 

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Marina
Top achievements
Rank 1
answered on 22 Jun 2011, 06:56 AM
thanks!
Tags
General Discussions
Asked by
anjali
Top achievements
Rank 1
Answers by
Marina
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or