Hello,
I've a grid with AllowNewItem="True" and with 2 columns in a callbackpannel that is triggered by a button.
Code: Visual Basic.NET
<eo:CallbackPanel ID="Callback_destinatari" runat="server"
Triggers="{ControlID:btn_inviamail;Parameter:}" Width="220px" LoadingHTML="Invio in corso">
<eo:Grid ID="Grid1" runat="server"
AllowNewItem="True" BorderColor="#7F9DB9"
BorderWidth="0px" ColumnHeaderAscImage="00050104"
ColumnHeaderDescImage="00050105" ColumnHeaderDividerImage="00050103"
FixedColumnCount="1" Font-Bold="False"
Font-Italic="False" Font-Names="Tahoma"
Font-Overline="False" Font-Size="8.75pt" Font-Strikeout="False"
Font-Underline="False"
GoToBoxVisible="True" GridLineColor="220, 223, 228"
GridLines="Both" Width="220px" Height="200px"
FullRowMode="False">
<Columns>
<eo:CheckBoxColumn AllowResize="False" DataField="sel" Width="30">
</eo:CheckBoxColumn>
<eo:TextBoxColumn AllowResize="False" DataField="email"
HeaderText="E-Mail Destinatari" Width="-1">
</eo:TextBoxColumn>
</Columns>
</eo:Grid>
<br />
<asp:Button ID="btn_inviamail" runat="server" Text="Invia" Width="100px" />
</eo:CallbackPanel>
When I click the button I've a callback error if i check the CheckBoxColumn on last row of grid.
How can I add dinamically a new gridrow if I click on CheckBox of last empty row?
The new row is inserted only if a click on TextBoxColumn!
I think that if i do this the problem is resolved.
thanks