In MVC, I have a controller parameter that references a field checkboxlist. The text and values properties of that checkboxlist are populated by a NameValueCollection. The controller is associated with a button, so when the button is clicked I can generate logs.
The interntal team has replied that this can be done only by Javascript, but should be workable through the controller pop up parameters.
When testing and checking the logs, the controller parameters that are sent through are all the values from the checkboxlist where I would like for only selected values to be sent. For the value attribute, I left blank. The controller parameter is also not set up as an array.
Is there a way to make it so only the selected values from the checkboxlist are sent as controller parameters?CheckBoxList Controller Parameters
-
- Posts: 25
- Joined: February 17th, 2022, 3:21 pm
- Contact:
-
- Posts: 25
- Joined: February 17th, 2022, 3:21 pm
- Contact:
Re: CheckBoxList Controller Parameters
<Result>
<Value>
<Checked>
</Result>
etc
Or when passing values into the, only send the values that are true.
word count: 116
-
- Posts: 574
- Joined: August 26th, 2021, 9:56 am
- Contact:
Re: CheckBoxList Controller Parameters
In the latest EASYProcess version, Controllers now have the ability to mark a parameter as a checkbox list.
The children of this parameter can be set to the attributes like Value or Checked. The output of the CheckBoxList in a controller is now grouped and easily accessible. For more information on CheckBoxList in parameters please check out the dedicated forum post for this feature.
The children of this parameter can be set to the attributes like Value or Checked. The output of the CheckBoxList in a controller is now grouped and easily accessible. For more information on CheckBoxList in parameters please check out the dedicated forum post for this feature.
word count: 100