Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
I can not input all strings to row, because My WebDataGrid RowEditing is auto done!
posted

Hi!

My web site use WebDataGrid, and I set RowEditing.

In this sample, WebDataGrid wait until my inputting all strings.

http://samples.jp.infragistics.com/aspnet/Samples/WebDataGrid/EditingAndSelection/RowEditing/Default.aspx?cn=data-grid&sid=ab72294d-bd00-4f41-9462-51b6500cb1e9

But, My web site WebDataGrid never let me input all strings I want, because WebDataGrid end up being "done" RowEditing.

※"done" mean the same effect when pushing done button showing when RowEditing.

I think WebDataGrid does not have auto RowEditing "done" function.

So I don't know why WebDataGrid "done" RowEditing automatically.

I use Infragistics ultimate ui for asp.net version 16.2.

Would you like to solve my issue? Thanks for your reading.

My Code here.

<ig:WebDataGrid ID="WebDataGrid1" runat="server" Height="650px" Width="100%" DataKeyFields="ID" AutoGenerateColumns="False">
<Columns>
<ig:BoundDataField DataFieldName="ID" Key="ID" DataType="System.Int32" Width="120px">
<Header Text="ID" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="FirstName" Key="FirstName" DataType="System.String">
<Header Text="FirstName" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="LastName" Key="LastName" DataType="System.String" Width="150px">
<Header Text="LastName" />
</ig:BoundDataField>
<ig:TemplateDataField Key="Delete" Width="100px">
<ItemTemplate>
<asp:Button ID="btnDelete" runat="server" CssClass="form-control" Text="Delete" OnClientClick='<%# string.Format($"return btnDelete_Click({ Eval("ID") });") %>' />
</ItemTemplate>
<Header Text="" />
</ig:TemplateDataField>
</Columns>
<Behaviors>
<ig:Activation ActiveCellCssClass="active" />
<ig:Selection RowSelectType="Single" CellClickAction="Row" />
<ig:EditingCore Enabled="true" AutoCRUD="true">
<Behaviors>
<ig:RowDeleting Enabled="true" />
<ig:RowEditing Enabled="true">
<ColumnSettings>
<ig:EditingColumnSetting ColumnKey="ID" ReadOnly="true" />
</ColumnSettings>
</ig:RowEditing>
</Behaviors>
</ig:EditingCore>
</Behaviors>
</ig:WebDataGrid>