Click here to Skip to main content
15,909,437 members

Comments by Member 10765778 (Top 4 by date)

Member 10765778 9-Jun-14 11:54am View    
yea I tried testing it on fiddle but But it wasnt responding so i think there something missing... check it out http://jsfiddle.net/7SGFE/
Member 10765778 9-Jun-14 8:03am View    
am using mvc for it

<div>
<label>Recipients </label>
@Html.ListBoxFor(model => model.SelectedRecipient, Model.Recipients, new { id = "recipientList", style = "width: 250px; height: 160px;", name = "recipientList" })
<div id="errormsg" class="errorMsg"></div>
</div>

in combination with angular for listing in the table
<tbody>
<tr ng-repeat="contact in contacts">
<td><input type="checkbox" value="{{contact.MobileNumber}}" ng-checked="contact.checked" name="chooseRecipient" id="chooseRecipient"></td>
<td>{{contact.Name}}</td>
<td>{{contact.MobileNumber}}</td>

</tr>
</tbody>
Member 10765778 27-May-14 4:31am View    
oka it help Tanks very mush
Member 10765778 23-May-14 8:07am View    
yea i get that thanks but there is still a little problem...
how do i assign (var idArray = new[] { model.Id };) to ( var chckedValues = form.GetValues("assignChkBx");)