asp.net mvc - Page refresh in MVC -


I'm studying the Microsoft ASP MVC framework, here's a problem I get: one of the countries with dropdown list There is one view with list and another dropdown list for the states. Postes the on-change event form back and then the controller sends the states to the data drop, which should be updated. But the second dropdown list does not change. What were they before refreshing? What do I need to do to fix this.

Thanks in advance!

EDIT: Column ModelState. Clear () In another controller, fix the problem, thank you for all who provide suggestions! Really thank you!

ASP.NET MVC provides for generating dynamic web pages. It is at very low level of intangible to ASP.NET and as a result, due to the familiar features of ASP.NET, are not intentionally supported like the events.

Try reading for an example what you want to do, the customer side using JQuery fits well into this MVC approach


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -