Solved

How can I bind the select to a Textboxfor

Posted on 2014-04-01
3
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question about JQuery and asp.net 3 35
disable data migrations in visual studio 2017 4 49
Validating textboxes in red square borders. 2 34
Multi-Column Repeater 3 27
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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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.

733 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