ajax - Pass List to Controller in C# -


so pass in model view. model has list of records have fields, 1 of fields list of type string holds numerous string values (listholdingstring). foreach through model table. when click row want able pass "list of type string holds numerous string values" thats in first column new controller can use other stuff.

i did try ajax couldnt retrieve list.

i dont know how can achieve this, has got ideas? here code far.

            <tbody>                 @foreach (var n in model.modellist)                 {                     <tr>                         <td class="hidden">@n.listholdingstring</td>                     </tr>                 }             </tbody> 

if no 1 has solution, viable option change list string thats comma delimited , post controller needs , need pass on controller displays information?


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -