Hi, I found that the line var URL = $("#CountryStat
eFormID").data( "stateListActio n"); fails in jquery-1.8.2 and also 2.2.1, i haven't tested any versions or found why this happens. In your downloadable code it's using version 1.5.1 and it's working fine. It gets an Undefined because it seems not to find the stateListAction data attribute. Instead I found I can use .attr("data-sta teListAction") to make it work. Cheers
I ran into this same problem using jquery-1.7.1; within countryState.js
, by using .attr("data-sta teListAction"); instead of .data("stateLis tAction"); it worked great for me. Thanks for having posted this! You saved my day.
Hi Rick, I have two things in my view 'ListUrl.cshtml
' a dropdown list filled with the names of URLs. and list (html Table) where 'URLs' as the first column. I want that the data in the table depends on the change in ddl selection. how can I achieve something like this. apologize because I am new to MVC, I have always worked with webforms. Thank you.
Hello Rick.I want to ask you something.It seems that my js file is working but it doesn't seem that when the url is generated from the json the actionresult is never called.I ve checked names and so forth! Thank you.
Hello i am using recursive Database table for category. tbl_category(ID
,name, parentID). I want to implement Cascading DropDownList that can load as many dropdownlist for category that have multiple hierarchy of subcategories. How to do using ASP.NET MVC ? any Hint. I am not using entity framework and razor view. I have made object class of database table. Himen Suthar
Hi Rick, I'm trying to import your solution into VS2008 to see how it works and I noticed right from the beginning that the views are .cshtml whereas in VS2008, the views are .aspx. What's the difference between the two formats and is there some way to convert cshtml to aspx? DMarkInTampa