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
Solved

How can I bind the select to a Textboxfor

Posted on 2014-04-01
3
290 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Gridview selected row 9 49
encoding an href string 2 24
List<PaisEntity> - show some 1 28
custom authorization on controller action and HTML in asp.net mvc 1 25
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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.

856 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