Jan 17, 2013, 1:33 PM
[CLOSED] Razor- Grid Panel Editor Combobox
When I am trying to add a parameter to a store, to get back data I just get an error, is this me or is it a bug ... code is below
P.S... Still no answer from any of the ext support team, I should be getting premium support. 3 mails no answer.
.Editor(
Html.X().ComboBox()
.ValueField("SettlementAccountId")
.DisplayField("Name")
.Store(
Html.X().Store()
.ID("StoreSettlementAccountList")
.AutoLoad(true)
.Model(Html.X().Model()
.Fields(
new ModelField("SettlementAccountId", ModelFieldType.Int),
new ModelField("Name", ModelFieldType.String)
)
)
.Proxy(
Html.X().AjaxProxy()
.Url(Url.Action("GetSettlementAccountList"))
.ActionMethods(actions =>
{
actions.Read = HttpMethod.POST;
}
)
.Reader(
Html.X().JsonReader().Root("result")
)
)
.Parameters( para = >
{
para.add(new Parameter("id", "record.get('OrderLinkId')", ParameterMode.Raw));
}
)
P.S... Still no answer from any of the ext support team, I should be getting premium support. 3 mails no answer.
Last edited by Daniil; Jan 25, 2013 at 2:57 PM.
Reason: [CLOSED]