First Thank you Sir For making this great tutorial Sir i have tried and followed your instruction my ajax is not working,.Unable to fetch data of City and State if any one knows kindly reply me and make me solve this issue Thank You...
Super explanation. Thanks . It works fine except @31.38 when selecting country it still displays City as "hyderabad". We can do $("#Cityid").empty() on Country change script event. but "--select cities--" default display option is gone although The dropdown values are correct.
@@HarithaComputersTechnology I getting not work too and I have done to replay your video not for once but more but still not work so please take us your source code how it your db relation is join
Figured it out.. This Line "public ActionResult GetStateList(int Cid)" should be " public ActionResult GetStateList(int? Cid)". Once the "?" was added the cascade drop downs started to populate. Hope this helps others.
Excellent Video!!! But not working for me because of the Data Access, I use DLL instead Entity Framework or SQLCommand or DataSet So I can´t handle the db objects as you do in this video... does anybody knows how to achive this?Or if you know a video that do this It would be helpful! Thanks!
way of accessing data has nothing to do with this. you can access the data the way you do (Convert in List) and just pass the data as SelectList in ViewBag. I personally use WebAPI to fetch data (that too without EntityDataModel) I Hope it helps you.
hello sir i like your videos so much this time code is not working please help me...........city and state dropdownlist list not populate please help me anyone