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
Ferdinando
NA
1
1.1k
MVC 4 issue dropdown chosen
Jun 12 2014 7:48 PM
Hi,
I have a page razor with many drop down, the page takes a long time to render, due to certain dropdown with several items that are loaded from db.
Here the code of a dd:
@Html.LabelFor(model => model.CODICE_STATO_NASCTITA, "Stato di nascita")
<br />@Html.DropDownList("CODICE_STATO_NASCTITA", new SelectList(new HotelEntities().NAZIONI.ToList().Select(type => new { type.CODICE, type.DESCRIZIONE }), "CODICE", "DESCRIZIONE"), ":Seleziona:", new { @class = "chosen-select comboModerator" })
<br /> @Html.ValidationMessageFor(model => model.CODICE_STATO_NASCTITA)
Thanks
Reply
Answers (
0
)
Populate TextBoxes From An AutoComplete TextBox
Create an one page web app like following