2
有誰知道爲什麼這不起作用?任何源代碼更改都會很好。asp.net mvc radioButtonFor for forEnd
<% foreach (var i in Model.talentImages) { %>
<div style="padding:15px;">
<img src="<%: i.uri %>" width="95" height="84" alt="" style="float:left; padding:0px 20px 0px 0px" />
<div style="padding:30px 10px 10px 10px">
<%: Html.RadioButtonFor("group-" + i.uriId.ToString(), i.isApproved)%> Approved <br />
<%: Html.RadioButtonFor("group-" + i.uriId.ToString(), i.isApproved)%> Deny <br />
</div>
<hr width="0"/>
<%= Html.RadioButton("isProfileePicGroup", i.isProfilePic, false)%> Make Profile Picture <br />
</div>
<hr />
<%} %>
什麼是不工作?你能否提供更多的細節? – Brandon 2010-11-05 20:58:47