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
60
Row does not updated
posted

I am new in WebDataGrid. I have very simple WebDataGrid based on sample "Row editing-server events". I don't use any event.  Problem:   update method is not fired after postback. any changes are not saved.

 <asp:Button ID="btnSave" runat="server" Text="Save all" />

<ig:WebDataGrid ID="WebDataGrid1" runat="server" DataKeyFields="ID" DataSourceID="ods1" Height="350px" Width="100%">

 

 

 

 <Behaviors>

<ig:Selection CellClickAction="Row" CellSelectType="None" RowSelectType="Multiple"></ig:Selection>

 

 

 

 <ig:EditingCore><Behaviors><ig:CellEditing></ig:CellEditing></Behaviors></ig:EditingCore>

</Behaviors>

 

 

 

 </ig:WebDataGrid>

 

 

 

 <asp:ObjectDataSource ID="ods1" runat="server" SelectMethod="SelectList"

UpdateMethod="Update" TypeName="IaisBL.DL.Zinynai.SystemAttributes" EnableCaching=false>

 

 

 

 <UpdateParameters>

 

 

 

 <asp:Parameter Name="id" Type="Decimal" />

 

 

 

 <asp:Parameter Name="attr_value" Type="String" />

 

 </UpdateParameters>

 

 

 

 

 </asp:ObjectDataSource>

 Thank for help