Yes, thank you. I did it and modified my code to use getChangedData as value parameter. Here goes example:
<extnet:Button ID="btnSave" runat="server" Text="Salvar" Icon="DatabaseSave">
<DirectEvents>
<Click OnEvent="SaveDocument">
<ExtraParams>
<extnet:Parameter Name="items" Value="#{Store2}.getChangedData()" Mode="Raw" Encode="true" />
</ExtraParams>
</Click>
</DirectEvents>
</extnet:Button>
Now, back on SaveDocument when evaluating items parameter I always get "{}", like if no changes have been made to the store, which I know is not because before clicking btnSave I have modified the store by the mean of another code behind procedure that goes like:
Protected Sub SaveItem(ByVal sender As Object, ByVal args As DirectEventArgs)
Try
If fline_num.Text <> "" Then
Dim sdr As Ext.Net.ModelProxy
sdr = Store2.GetById(PsaConvert.ObjToInt(fline_num.Text))
sdr.Set("PART_CODE", fpart_code.Text)
sdr.Set("DESC_TEXT", fpart_desc.Text)
sdr.Set("SERIAL_CODE", fserial_code.Text)
sdr.Set("UOM_CODE", fuom_code.Text)
sdr.Set("UOM_QTY", fuom_qty.Text)
sdr.Set("DISC_CODE", fdisc_code.Text)
sdr.Set("DISC_PER", fdisc_per.Text)
sdr.Set("PRICE_AMT", ftaxedunitprice_amt.Text)
sdr.Commit()
End If
Notification.Show(New NotificationConfig With {.Title = "Item", .Html = "Item salvado"})
ItemWindow.Close()
Catch ex As Exception
args.Success = False
args.ErrorMessage = ex.Message
End Try
End Sub
I can tell that the store is well updated back on client side because I can see the grid changed it values.
Could it be that the problem is that when updating the store code-behing using Ext.Net.ModelProxy this changes are not taken in consideration by the getChangedData method?