Jan 09, 2012, 7:08 PM
Store AutoSave
Is there a known issue with the following setup (psuedoCode):
Grid (w/ AutoSave="true") referencing a Store which references an ObjectDataSource, but when a delete occurs the ObjectDataSource is not notified until an Insert or Update occur on the store.
The form is integrated with a lot of other stuff so I do not have a simple example. But the Insert and Update are working just fine.
Grid (w/ AutoSave="true") referencing a Store which references an ObjectDataSource, but when a delete occurs the ObjectDataSource is not notified until an Insert or Update occur on the store.
<asp:ObjectDataSource ID="Ods1" runat="server ...>
....
</asp:ObjectDataSource>
<ext:Store ID="Store1" DataSourceID="Ods1" AutoSave="true" runat="server" >
...
</ext:Store>
....
<ext:GridPanel ID="GridPanel1" StoreID="Store1" runat="server" ...>
I was trying the AutoSave="true" just to get things started. I plan to move to a commit button (I think). The issue that I am having right know is when I remove an item from the grid panel it is not triggering a call to the ObjectDataSource. When I update a row a call is made to the ObjectDataSource for the update and then the delete. So the store new that it deleted row was dirty, but for some reason during the grid.deleteSelected() the ObjectDataSource DeleteMethod didn't get called.The form is integrated with a lot of other stuff so I do not have a simple example. But the Insert and Update are working just fine.