如果当前对象有孩子,我有一个动作应该提示用户。用户也应该能够选择是否更新孩子。我该如何处理用户对此提示的响应?
<tr>
<td><button type="submit" class="button">Save</button></td>
@if (Model.OrganizationHasChildren)
{
<td>@Html.ActionLink("Save", "AleMasterData", null, new {@class = "button",onclick = "return confirm('Do you want to apply the ALE Indicator change to the sub-clients also?');" })</td>
}
else
{
<td>@Html.ActionLink("Save", "AleMasterData", null, new {@class = "button"})</td>
}
</tr>