ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid Inline Edit AjaxDropDownlist - how to pass parameters?
Title:
B
I
{code}
?
When defining an Inline grid edit column with AjaxRadioList, how to pass the Grid row Model parameters as values to the Controller? Example: new Column{ Bind = "activityCodeKey", Header = "Activity Code", Width = 100}.Mod(o => o.Nohide().Inline( Html.Awe().AjaxRadioList("activityCodeKey").Odropdown() .Url(Url.Action("GetActivityCodes", "Lookup")) *.Parameter("param1", "@Model.Value1") .Parameter("param2", "@Model.Value2")* , "activityCodeKey")),
Save Changes
Cancel
Ren
asked at 03 May 2023
try `.Parameter("param1", ".(Prop1)")` `Prop1` being a grid row model property, that you would usually set in the `Map`
at 03 May 2023
Omu
Perfect, that works. Thanks!
at 03 May 2023
Ren
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK