I want to reuse an combo box control which occurs in various modules in our project. Combo box with Select, Yes and no items in it.
@Html.DropDownList("SampleList", new[]
{
new SelectListItem() {Text = "Yes",Value = "1" },
new SelectListItem() {Text = "No",Value = "2" }
},"Select")
What approach would be better?
To use Partial View or User Controls?
Also in certain forms they are repeated multiple time.
This is a questionnaire page.
Let me know if any further options are available as i am new to MVC. Thanks in advance.