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
suman goud
NA
176
54.1k
How to bind data to to text box on drop down change in mvc 4
Aug 19 2016 3:33 AM
How can i write dropdown change event in mvc
iam binding list of accounts in dropdown , when i select particular account i want to show amount of that account in textbox
where can i write dropdown change event in mvc
view
@Html.DropDownList("ddlAccount", Model.CustomerListModel, new { @style = "width:150px;height:22px;", @id = "ddlCustomer" })
Account Balance @Html.TextBox("AccountBalance", Model.TotalAmount, new { @class = "input-large" })
controller
var TotalAmount = db.Transaction_PaymentDetails.Select(m => m.Amount).Sum();
i want to bind this TotalAmount to text box on drop down change
Reply
Answers (
2
)
Auto Complete Text box using database table in asp.Net mvc
how to impliment payment for registration in mvc