please check the below details,
@foreach (var item in Model)
{
<input type="checkbox" id="@item.Id" name="[email protected]" class="chkProductDetails" /> }
Controller:- But, using by below code, I can not get all checked checkbox id's from jQuery datatable under the "Cb_"
FormCollection frm = new FormCollection();
foreach (var item in frm.AllKeys)
{
if (item.Contains("cb_"))
{
var ids = item.Split(new[] { "cb_" }, StringSplitOptions.RemoveEmptyEntries);
}
Kindly replay me.


arun prasath94 reputationPosted Jun 1, 2016, 2:36 AM EDT
Balaji PalaniRank #4,480 · 341 reputationPosted Jun 1, 2016, 3:28 AM EDT