Solved

How can I bind the select to a Textboxfor

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquey and footrable 2 35
LINQ - C# to VB convertion 12 48
SQL Login 17 40
SSRS troubles 4 20
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now