Good Day,
I have this gridview which gets databinded with two rows(and two columns)
<telerik:RadGrid ID="RadGrid3" runat="server" AllowAutomaticUpdates="False" AllowPaging="True" AllowAutomaticInserts="false">
<MasterTableView EditMode="Batch" CommandItemDisplay=Top HorizontalAlign="NotSet" AutoGenerateColumns="False" DataKeyNames="Language">
<BatchEditingSettings EditType="Cell" />
<Columns>
<telerik:GridBoundColumn DataField="Language" HeaderStyle-Width="210px" HeaderText="Language"
SortExpression="CodeLang" UniqueName="Language" ReadOnly="True">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Translation" HeaderStyle-Width="210px" HeaderText="Translation"
SortExpression="Translation" UniqueName="Translation">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
As you can see batchediting is enabled and I have no problems anymore with that(I can edit the text on the current gridview)
My problem is when I update the gridview. It seems that I do not obtain the contents of the Translation column. I got an idea based on your documentation link http://www.telerik.com/help/aspnet-ajax/grid-insert-update-delete-at-database-level.html but I always get an out of bounds issue(because the control count is 0). I tried using e.Item.cells but still the string I input in the Translation column isn't being passed in the codebehind(it returns "" or nothing). Thanks in advance
I have this gridview which gets databinded with two rows(and two columns)
<telerik:RadGrid ID="RadGrid3" runat="server" AllowAutomaticUpdates="False" AllowPaging="True" AllowAutomaticInserts="false">
<MasterTableView EditMode="Batch" CommandItemDisplay=Top HorizontalAlign="NotSet" AutoGenerateColumns="False" DataKeyNames="Language">
<BatchEditingSettings EditType="Cell" />
<Columns>
<telerik:GridBoundColumn DataField="Language" HeaderStyle-Width="210px" HeaderText="Language"
SortExpression="CodeLang" UniqueName="Language" ReadOnly="True">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Translation" HeaderStyle-Width="210px" HeaderText="Translation"
SortExpression="Translation" UniqueName="Translation">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
As you can see batchediting is enabled and I have no problems anymore with that(I can edit the text on the current gridview)
My problem is when I update the gridview. It seems that I do not obtain the contents of the Translation column. I got an idea based on your documentation link http://www.telerik.com/help/aspnet-ajax/grid-insert-update-delete-at-database-level.html but I always get an out of bounds issue(because the control count is 0). I tried using e.Item.cells but still the string I input in the Translation column isn't being passed in the codebehind(it returns "" or nothing). Thanks in advance