AJAX.ACTIONLINK inside a TR element does NOT do a partial update
I have two action links. One inside a table (with one column and one row, just for testing purposes) and a copy of the that link OUTSIDE a table.
Only the link outside the table does an AJAX update.
Here is my view:
Dim TaskPanelUpdateOptions As AjaxOptions = New AjaxOptions() 'setup the ajax options. this will target a div for a partial update
With TaskPanelUpdateOptions
.UpdateTargetId = "taskpanel"
.InsertionMode = InsertionMode.Replace
End With
%>
<table>
<tr>
<td>
<%
Response.Write(Ajax.ActionLink("Show in grid", "ShowDetails", "Workflow", New With {.WorkflowMasterId = CType(Model.WorkflowsList.Rows(0), vantageTEM.Business.WorkflowDataset.OpenWorkflowRow).Wfm_Id}, TaskPanelUpdateOptions, Nothing))
%>
</td>
</tr>
</table>
<% Response.Write(Ajax.ActionLink("Show not in grid", "ShowDetails", "Workflow", New With {.WorkflowMasterId = CType(Model.WorkflowsList.Rows(0), vantageTEM.Business.WorkflowDataset.OpenWorkflowRow).Wfm_Id}, TaskPanelUpdateOptions, Nothing))
When I click The link NOT in the grid it updates the div correctly.
When I c开发者_如何学运维lick the link IN the grid it seems to render ONLY the partial view?
Any idea why, or how I can overcome this?
精彩评论