Jun 29, 2014, 12:17 PM
[CLOSED] How to make sync call using Ajaxproxy (Store)
Hi,
I have created a store with Ajaxproxy.
Its working fine as it make the async call but as per our requirement I need to change it sync call.
Thanks
I have created a store with Ajaxproxy.
Its working fine as it make the async call but as per our requirement I need to change it sync call.
var storePositionBreakTarget = Html.X().Store().ID("UC085_LinearBreakTargets_Store_PositionBreakTarget").AutoLoad(true)
.Model(Html.X().Model()
.Fields(
new ModelField("Key", ModelFieldType.String),
new ModelField("Name", ModelFieldType.String)
)
)
.Proxy(Html.X().AjaxProxy()
.Url(Url.Action("../LinearBreakTargets/FindBreakPositionCombination"))
.Reader(Html.X().JsonReader().Root("data"))
).Listeners(L => L.Load.Fn = "ManageLBT.createPositionBreakType");
Help will be appreciatedThanks
Last edited by Daniil; Jul 08, 2014 at 5:23 AM.
Reason: [CLOSED]