4 Answers, 1 is accepted
0
Hello Daniel,
Atanas Korchev
the Telerik team
We just created a code library which shows how to do both. You can check it here: Grid Selection
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Daniel
Top achievements
Rank 1
answered on 14 Jan 2013, 08:03 AM
i checked the example that you sent me,it works,that's what i want it.So the key to do the selection is the grid.selection method made in javascript.
Thank you for your time and the project example.
Thank you for your time and the project example.
0
Daniel
Top achievements
Rank 1
answered on 13 Feb 2013, 11:43 AM
Hello,
i still have a question.Without that javascript code for selection of the id's, is there other way to send the selected row(as view model),or at least that modelID?
for example if i have set on the grid .Model(model => model.Id(p => p.ProductID))
get it with a post or get in the controller,something like this
[HttpPost]/[HttpGet]
public GetRow(int productID,ProductRowViewModel model){
...
var row=_repository.GetByID(productID);
......
}
Regards,
Daniel
i still have a question.Without that javascript code for selection of the id's, is there other way to send the selected row(as view model),or at least that modelID?
for example if i have set on the grid .Model(model => model.Id(p => p.ProductID))
get it with a post or get in the controller,something like this
[HttpPost]/[HttpGet]
public GetRow(int productID,ProductRowViewModel model){
...
var row=_repository.GetByID(productID);
......
}
Regards,
Daniel
0
Accepted
Hello Daniel,
Atanas Korchev
the Telerik team
No, there is no way without JavaScript.
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!