Good afternoon I have the following problem, I need to pass the values that brings a CONTROLLER ViewBag a Checkbox in a view.
<table>
<tr>
<td>
<label>Select:</label>
</td>
<td>
<select id="type" name="type" multiple="multiple">
<option id="Custom1" value="Custom1">Custom1</option>
<option id="Custom2" value="Custom2">Custom2</option>
</select>
</td>
</tr>
</table>
Normally in a (Input type="text") i put:
<input type="text" name="email" id="email" value="@(ViewBag.Example.EMail)" />
but in this case i dont know where put the value, could you help me please? Thanks