- Home
- Forum
- ASP.NET Web Forms
- Delete event not triggered 14.2451.0.28
Delete event not triggered 14.2451.0.28
Hi
I have a page which contains aspx code like this
<ej:SplitPane runat="server" PaneSize="25%" MinSize="200px" Collapsible="true" Expandable="true">
<PaneContent>
<div id="targetelement2" style="overflow: hidden">
<div style="overflow: auto">
<asp:UpdatePanel runat="server">
<ContentTemplate>
<ej:Grid ID="blocksGrid" AllowResizing="true" DataSourceCachingMode="Session" AllowPaging="True" AllowSorting="true" CssClass="customCSS" OnServerEditRow="EditEvents_ServerEditRow" OnServerAddRow="EditEvents_ServerAddRow" OnServerDeleteRow="EditEvents_ServerDeleteRow" runat="server" AllowSearching="True">
<DataManager URL="default.aspx/GET_DNISNUMBERBLOCKS" Adaptor="WebMethodAdaptor" />
<Columns>
<ej:Column Field="_id" HeaderText="ID" TextAlign="Left" IsPrimaryKey="true" Visible="false" Width="20px">
</ej:Column>
<ej:Column Field="_testsite" HeaderText="T-SYSTEM" TextAlign="Left" Width="20px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="_blockstart" HeaderText="BLOCKSTART" TextAlign="Left" Width="40px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="number" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="_blockend" HeaderText="BLOCKEND" TextAlign="Left" Width="40px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="number" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="_prefix" HeaderText="PREFIX" TextAlign="Left" Width="50px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="number" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="_manipulation" HeaderText="MANIPULATION" TextAlign="Left" Width="30px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="number" Value="true" />
</ValidationRule>
</ej:Column>
<ej:Column Field="_character" HeaderText="CHARACTER" TextAlign="Left" Width="30px">
<ValidationRule>
<ej:KeyValue Key="required" Value="true" />
<ej:KeyValue Key="number" Value="true" />
</ValidationRule>
</ej:Column>
</Columns>
<EditSettings EditMode="Dialog" AllowEditing="True" AllowAdding="True" AllowDeleting="True" ShowDeleteConfirmDialog="true" />
<ToolbarSettings ShowToolbar="True" ToolbarItems="search,add,edit,delete,cancel"></ToolbarSettings>
<PageSettings PageSize="17" />
<ScrollSettings ScrollerSize="17" />
<ClientSideEvents ActionComplete="complete" EndAdd="endAdd" EndDelete="endDelete" EndEdit="endEdit" />
</ej:Grid>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
</PaneContent>
</ej:SplitPane>
My problem is that the Delete event is not triggered, Edit and Add are working as expected, what did I do wrong?
Here is my JavaScript Part
function endDelete(args) {
$('#<%= blocksGrid.ClientID %>').ejWaitingPopup("show");
}
And here is my codebehind part
protected void EditEvents_ServerDeleteRow(object sender, GridEventArgs e)
{
EditAction(e.EventType, e.Arguments["data"]);
}
Both are not triggered.
Thanks for help
Cheers Martin
SIGN IN To post a reply.
1 Reply
JK
Jayaprakash Kamaraj
Syncfusion Team
September 28, 2016 12:58 PM UTC
Hi Martin,
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.
Regards,
Jayaprakash K.
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
MS Martin Sickel
- Sep 27, 2016 09:24 AM UTC
- Sep 28, 2016 12:58 PM UTC