• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

How can I bind the select to a Textboxfor

Please help
  How can I bind the "select Box" to the @html.textfor in the code below

<div class="group">
                                                @Html.LabelFor(o => o.Committee.BriefingDayOfWeek)
                                                @Html.TextBoxFor(o => o.Committee.BriefingDayOfWeek)
                                                                <select id="DayOfWeek" name="DayOfWeek">
                                                                       <option value="1">Sunday</option>
                                                                    <option value="2">Monday</option>
                                                                    <option value="3">Tuesday</option>
                                                                     <option value="4">Wednesday</option>
                                                                     <option value="5">Thursday</option>
                                                                    <option value="6">Friday</option>
                                                                <option value="7">Saturday</option>
                                                            </select>
                                     </div>
0
vcurtis
Asked:
vcurtis
  • 2
1 Solution
 
vcurtisAuthor Commented:
This is exactly what I needed
0
 
vcurtisAuthor Commented:
This is exactly what I needed
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Firewall Management 201 with Professor Wool

In this whiteboard video, Professor Wool highlights the challenges, benefits and trade-offs of utilizing zero-touch automation for security policy change management. Watch and Learn!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now