我想SOM動態數據加載到@ ajax.actionlink使用數據ajax.actionlink
<tr ng-repeat="child in row.child" ng-if="row.visible" class="expand-wrapper">
<td>
@Ajax.ActionLink("{{child.contractname}}", "home", "index", new { value = "{{child.contractId}}" }, new AjaxOptions { HttpMethod = "POST", OnSuccess = "window.location.reload()" })
</td>
</tr>
鏈接文本數據呈現罰款,但value = "{{child.contractId}}"
不會呈現在所有。它給了我這個url = someurl/home?value=%7B%7Bchild.contractId%7D%7D
添加一些實際的代碼,在此之前任何人會去試着解決它格式化好 – maurycy