tag:blogger.com,1999:blog-6592420458842865736.post3589302095116488850..comments2024-03-28T13:16:21.800+05:30Comments on ASPMANTRA | Asp.Net,MVC,AngularJs,Jquery,Javascript,Sql Server AND WCF snippets and tutorial: Populate Cascading Dropdown List in Asp.net MVC4 using Json and JqueryVijay Saklanihttp://www.blogger.com/profile/08605063040623165445noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-6592420458842865736.post-79588596032407767682017-01-15T00:28:23.408+05:302017-01-15T00:28:23.408+05:30can you please upload a Mini project in MVC its ve...can you please upload a Mini project in MVC its very helpful for us please,, vinishkumar92@gmail.comVinish Bloghttps://www.blogger.com/profile/09108166502901910483noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-88331225979857267402016-08-28T16:22:38.562+05:302016-08-28T16:22:38.562+05:30my problem
my problem<br />Anonymoushttps://www.blogger.com/profile/08498518024418972517noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-37708831124694596472016-08-16T09:35:52.612+05:302016-08-16T09:35:52.612+05:30Glad you hear it helps you.Glad you hear it helps you.Vijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-67101606508804586362016-08-13T23:59:00.087+05:302016-08-13T23:59:00.087+05:30Thankuu .. ! This is what i was looking for many d...Thankuu .. ! This is what i was looking for many daysAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-15811302905591187502016-05-19T07:37:58.561+05:302016-05-19T07:37:58.561+05:30where from project contents come........where from project contents come........Anonymoushttps://www.blogger.com/profile/06503886289964818838noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-51825690162377112712016-03-19T00:56:09.812+05:302016-03-19T00:56:09.812+05:30I used this on my proyect It's work good but d...I used this on my proyect It's work good but doesn't save the data that I select from the view to model and database.. Could you help me. thanks <br />Because to save Country i did this <br /> @Html.DropDownListFor(model => model.CountryId, ViewBag.CountryId as SelectList, "Select a Country")<br />Then.. I tried to do the same with state and city but doesn't save ... and doesnt work the script<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-52253087274107348752016-03-05T12:52:20.516+05:302016-03-05T12:52:20.516+05:30You are welcome...keep visiting for more articlesYou are welcome...keep visiting for more articlesVijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-2865029482411515092016-01-01T16:57:59.525+05:302016-01-01T16:57:59.525+05:30@Scripts.Render("~bundles/jquery"). how ...@Scripts.Render("~bundles/jquery"). how to solve this error??Anonymoushttps://www.blogger.com/profile/02305942491000728380noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-80955615889305777272015-12-21T15:16:53.337+05:302015-12-21T15:16:53.337+05:30Worked wonderfully!
Thanks!Worked wonderfully!<br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-87152171097376262892015-12-21T15:15:56.843+05:302015-12-21T15:15:56.843+05:30Specifies which method in which controller the exe...Specifies which method in which controller the execution will transfer to.<br />I had to change this to '/Home/StateList/' for it to work properly since my StateList function was in the HomeControllerAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-47883578249354165002015-09-15T23:17:51.758+05:302015-09-15T23:17:51.758+05:30Meaning of ProjectContext db = new ProjectContext(...Meaning of ProjectContext db = new ProjectContext(); code to you have create a object of your data context,that means in you db object your all database table would be accessible ,you can query on this table using linq and other<br /><br />like if you have a table name USER in your database then you can access it by using the linq <br /><br />var userdata=from usr in db.USER where(usr.id==id)<br /><br />Now in userdata your desired data would be available.<br />Anonymoushttps://www.blogger.com/profile/15531506493006274595noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-42230517843608489732015-06-03T23:20:01.235+05:302015-06-03T23:20:01.235+05:30What is the error? You can download the project.What is the error? You can download the project.Vijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-89832691742033424392015-06-03T19:46:55.292+05:302015-06-03T19:46:55.292+05:30I just try to create same as yours.but its not pop...I just try to create same as yours.but its not populate data on State and City dropdown list its only working on the country dropdownAnonymoushttps://www.blogger.com/profile/10077732496789976871noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-62780814535272267042015-01-11T15:30:01.368+05:302015-01-11T15:30:01.368+05:30I just try to create same as yours.but its not pop...I just try to create same as yours.but its not populate,please look at this <br />stackoverflow question I made http://stackoverflow.com/questions/27885702/cascading-dropdown-list-in-asp-net-mvc4-using-json-and-jquery-not-populateAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-33176441167656844692014-11-13T12:16:22.656+05:302014-11-13T12:16:22.656+05:30$.getJSON('/Cascading/StateList/' + $('...$.getJSON('/Cascading/StateList/' + $('#Country').val()<br />in above code what is mean by "/Cascading/StateList/'<br />please tell meAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-41399718233559109162014-11-05T11:54:01.321+05:302014-11-05T11:54:01.321+05:30What version of Jquery is being used in it?? "...What version of Jquery is being used in it?? "$.getJSON()" method is not working in it. Is it due to different JQuery version?? I am using MVC4Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-64641041092407776202014-11-05T10:20:50.686+05:302014-11-05T10:20:50.686+05:30There is no ViewData item of type 'IEnumerable...There is no ViewData item of type 'IEnumerable' that has the key 'Country'.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-47462877016551971322014-08-05T22:43:28.556+05:302014-08-05T22:43:28.556+05:30it is dbcontext class. DbContext :Simplfied altern...it is dbcontext class. DbContext :Simplfied alternative to ObjectContext and is the primary object for interacting with a database using a specific model. to see how it create and works see e.g. http://articlemirror.blogspot.in/2013/12/create-read-update-and-delete-in-aspnet.htmlVijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-47003132473477323362014-08-05T22:42:49.813+05:302014-08-05T22:42:49.813+05:30it is dbcontext class. DbContext :Simplfied altern...it is dbcontext class. DbContext :Simplfied alternative to ObjectContext and is the primary object for interacting with a database using a specific model. to see how it create and works see e.g. http://articlemirror.blogspot.in/2013/12/create-read-update-and-delete-in-aspnet.htmlVijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-22583292981107448452014-08-05T22:42:49.286+05:302014-08-05T22:42:49.286+05:30it is dbcontext class. DbContext :Simplfied altern...it is dbcontext class. DbContext :Simplfied alternative to ObjectContext and is the primary object for interacting with a database using a specific model. to see how it create and works see e.g. http://articlemirror.blogspot.in/2013/12/create-read-update-and-delete-in-aspnet.htmlVijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-1558038326838441042014-08-05T19:22:06.623+05:302014-08-05T19:22:06.623+05:30what is the meaning of this code any one tell me b...what is the meaning of this code any one tell me briefly <br />private ProjectContext db = new ProjectContext();<br />ADVANCE THANKS ......Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-53481734245995738792014-08-05T19:19:47.692+05:302014-08-05T19:19:47.692+05:30what this line mean pls give detail explaination ....what this line mean pls give detail explaination ...<br />private ProjectContext db = new ProjectContext();<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-26935911010981084492014-08-02T18:29:33.965+05:302014-08-02T18:29:33.965+05:30JSON method not callingJSON method not callingAnonymoushttps://www.blogger.com/profile/15810988000375953196noreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-36808851773928784472014-08-02T18:28:13.937+05:302014-08-02T18:28:13.937+05:30JSON method not calling properlyJSON method not calling properlyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6592420458842865736.post-83433098552284727732014-07-07T23:21:06.346+05:302014-07-07T23:21:06.346+05:30on dropdown selection call the "StateList&quo...on dropdown selection call the "StateList".............Vijay Saklanihttps://www.blogger.com/profile/08605063040623165445noreply@blogger.com