Solved

How can I bind the select to a Textboxfor

Posted on 2014-04-01
3
289 Views
Last Modified: 2014-04-18
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
Comment
Question by:vcurtis
  • 2
3 Comments
 

Accepted Solution

by:
vcurtis earned 0 total points
ID: 40009866
This is exactly what I needed
0
 

Author Closing Comment

by:vcurtis
ID: 40009867
This is exactly what I needed
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Run time Error 4 47
Master Content Pages, WebForms, and Session Variables 1 43
Need a starter for ETL protocol? 4 55
Delete HTML table rows 12 28
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question