我有一个启用了showitbutton 和shownewbutton 的gridview。每当添加/更新新行时,如何在页面上触发回发?是否有任何类似于 autopostback 的属性可以应用于 gridviewcommand ?提前致谢。
ASP.NET
<dx:ASPxGridView ID="FollowUpGrid" runat="server" ClientIDMode="Static" ClientInstanceName="FollowUpGrid" KeyFieldName="sno" DataSourceID="gridsource">
<Columns>
<dx:GridViewCommandColumn CellStyle-ForeColor="White" ShowNewButtonInHeader="true" ShowEditButton="true" VisibleIndex="1" >
</dx:GridViewCommandColumn>
VB.net
gridsource.UpdateCommand = "UPDATE tablename set something = something