Jun 13, 2011, 6:58 PM
[CLOSED] Is there a way to send Store baseParams during Update
Hi,
I'm following your example here:
https://examples1.ext.net/#/GridPane.../Confirmation/
In it you use an HttpWriteProxy to POST an Update request to an ASHX which is exactly what I want to do. However, watching the data in Firebug, I notice that edited/updated rows are sent to the server but that is it - I don't see the store's base params being sent to the server like they are during a load. Is there a way to get them sent during an update/save operation as well as load? I tried to look at Ext Js's save() method on the Store and couldn't see it.
If there isn't a native way, the only other way I can see is perhaps on the Store's BeforeSave event updating the HttpWriteProxy's URL to have the store base parameters added to it as querystrings, which is a bit limited but could work in my scenario. Then I can request them off the Request object on the ashx. Can you see another way to do this?
Thanks!
I'm following your example here:
https://examples1.ext.net/#/GridPane.../Confirmation/
In it you use an HttpWriteProxy to POST an Update request to an ASHX which is exactly what I want to do. However, watching the data in Firebug, I notice that edited/updated rows are sent to the server but that is it - I don't see the store's base params being sent to the server like they are during a load. Is there a way to get them sent during an update/save operation as well as load? I tried to look at Ext Js's save() method on the Store and couldn't see it.
If there isn't a native way, the only other way I can see is perhaps on the Store's BeforeSave event updating the HttpWriteProxy's URL to have the store base parameters added to it as querystrings, which is a bit limited but could work in my scenario. Then I can request them off the Request object on the ashx. Can you see another way to do this?
Thanks!
Last edited by Daniil; Jun 14, 2011 at 9:06 AM.
Reason: [CLOSED]