MVC3 application I want javascript methods to fire on passed in route values
Posted
by
DavieDave
on Stack Overflow
See other posts from Stack Overflow
or by DavieDave
Published on 2012-11-13T01:06:06Z
Indexed on
2012/11/13
5:00 UTC
Read the original article
Hit count: 163
I have an MVC3 application in Visual Studio 2010.
I have a view with several dropdowns that do javascript calls to populate dropdowns based on the selected value, some of which are disabled initially.
That all works great with the initial state of nothing. If I however pass routevalues to the dropdowns from a redirect to this action, I do get the value set correctly but it's not enabled like it should be on the dropdown for example and when I post the form, the ones that are greyed out are not passed back on the form.
How can I correct this?
© Stack Overflow or respective owner