Based on this question: here! I was able to successfully fill the textboxes based on the value of the dropdownlist. Now I need to add a second DDL to the same view. How can I accomplish this?
If I create a second Controller and View binded to a second table in the database I'm able to populate the other textboxes using a second dropdownlist in the same view. By using:
`<fieldset>
<div class="form-horizontal">
@Html.Action("SecondAction", "SecondController");
</div>
</fieldset>`
But then the form with all the textboxes beautifully filled cannot be posted to the database when the user click:
<input type="submit" value="Submit" class="btn btn-default" />
How can I accomplish this?