Hello,
Have custom EditFormSettings with a delete button that is wired to a postback event handler.
<EditFormSettings>
...
<FormTemplate>
...
<telerik:RadButton ID="btnDelete" Text="Delete" Visible='<%# (Container is GridEditFormInsertItem) ? false : true %>' runat="server" CausesValidation="false" Icon-PrimaryIconCssClass="rbRemove" Icon-PrimaryIconLeft="4" Icon-PrimaryIconTop="4" onclick="btnDelete_Click"/>
</FormTemplate>
</EditFormSettings>
<LinqDataSource ...
code
dataContext.TableName.DeleteOnSubmit(item);
sdb.SubmitChanges();
rgFormEmail.DataBind()
Grid is shown and edit button is hidden. Code below resolves but why would the edit column be hidden?
rgFormEmail.MasterTableView.GetColumn("BtnEdit").Visible = true;