TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Elijah Li
NA
82
1.1k
Dropdownlist display on top
Oct 1 2020 10:59 AM
I have dropdownlist and the user want to have the default message shown on the first instead of the bottom. How?
Here is the code.
@Html.DropDownListFor(m => m.ManufacturerID, new SelectList(Lookup.GetValues(tablename.Manufacturer, "ModuleName", "TRU_Manufact").Cast<Manufacturer>().ToList().Where(y => y.StateOf == 0).Select(x => new { Value = x.ManufacturerID, Text = x.Name }), "Value", "Text"), "Choose Manufacturer",htmlAttributes: new { @id = "TruManufacturerID", @class = "form-control oemData", @style = "border-radius: 0px 5px 5px 0px;", Selected=true, onchange = @"TruManufacturerIDSelected();" })
Reply
Answers (
2
)
ASP.net with C#-any emails reached in the mail id
Bind Checkbox in MVC using Jquery