Part 36- Cascading dropdown list using Jquery and Partial View in ASP.NET MVC

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 79

  • @boltsrugger
    @boltsrugger 7 лет назад

    Ashish and Technotips are the best. Thank you so much for all of your help and the time you spent putting this series together.

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Jon Schneider thank Jon.. keep learning..if you find this useful then please share among your friends

  • @durgabhavani1210
    @durgabhavani1210 3 года назад +1

    very great help.your video helped me alot to solve my problem.

  • @swatigunjan9470
    @swatigunjan9470 4 года назад +1

    You have made amazing videos on asp.net MVC. Covered all the concepts required for a live project. Please make the same kind for Angular also. Thank you so much 🙂👍

  • @aliraza66-h1b
    @aliraza66-h1b 8 лет назад

    amazing some days ago you was not consistent.but now going well thank you for sharing these info on daily basis :)

    • @aapkanigam
      @aapkanigam  8 лет назад

      +Ali Raza thanks dear..during 3 days holiday I got enough time to publish new video..

    • @aliraza66-h1b
      @aliraza66-h1b 8 лет назад

      hmm ok thanks for reply

  • @samirubhatt
    @samirubhatt Год назад

    Nice and simple. Easy to understand.
    Thank you.

  • @knowledgesharer6983
    @knowledgesharer6983 Год назад

    Do you have any video that will show data with more than one columns in a PartialView and I will need to add one more column of check box to select a records in the PartialView.

  • @murtazaahmed8229
    @murtazaahmed8229 7 лет назад

    Ashish ur awesome Bro Love From Pak I see ur all tutorials Love you so much :)

    • @aapkanigam
      @aapkanigam  7 лет назад +1

      +Murtaza Ahmed thanks..keep learning and sharing

  • @faizakhan6724
    @faizakhan6724 7 лет назад +1

    Amazing videos I have ever watched about mvc...

  • @harisulislam6302
    @harisulislam6302 2 года назад

    Can you make it with crud operaction , there is a issue , 2nd dropdown not display at the edit mode

  • @narendarsingh4672
    @narendarsingh4672 4 года назад

    All ur videos are super

  • @MRVenturaCODIGO
    @MRVenturaCODIGO 6 лет назад +1

    i am trying since 2 weeks ago, and i cant proceed with the state's dropdown, it isn't showing any deploying, can you help me?

  • @venkatramana331
    @venkatramana331 4 года назад

    sir every thing was clear but im confused about the partial view, u have returned it by ajax call but how did the response in the view get that cam u pls explain or can any one pls explain

    • @aapkanigam
      @aapkanigam  4 года назад

      Please watch part 17 and 18 that will help you to understand partial view with example

  • @mshirazbaig6055
    @mshirazbaig6055 7 лет назад

    Good videos........... I was going through video 36, for cascading dropdown list. I wonder if it is possible to get the list of the code listing. I tried to type it from videos. But it is very difficult. Moreover, I tried to follow each step but could not get the $document ready function of change in dropdownlist. any suggestions?

    • @mshirazbaig6055
      @mshirazbaig6055 7 лет назад +1

      Thanks. I got the code. It is in your Blog. Thanks. Good work. Hope I can make it work :-)

    • @aapkanigam
      @aapkanigam  7 лет назад

      +M Shiraz Baig thanks for your effort.. keep learning and sharing

    • @mshirazbaig6055
      @mshirazbaig6055 7 лет назад

      when I ran the code I was getting the error "$ not defined." I used
      "var $ = jquery".
      It said, jquery not defined. Then I added following line to Index.cshtml.
      ,
      Then it started working. My question is, How was your code working without this addition of line.

    • @aapkanigam
      @aapkanigam  7 лет назад

      +M Shiraz Baig This is because it fails to load jquery js file . I have given the reference in layout . Including jquery reference is not enough. You should check the proper sequence of including the file . For example jquery reference should be given on the top then give reference to bootstrap js . If you reverse the sequence it will give same error that $ is not defined. So make sure to include jquery reference first then give other js references. Hope its clear now.

  • @GeminiLearning
    @GeminiLearning 8 лет назад +1

    Hi Ashish. Thanks a lot for your informative videos. I've learnt a lot from them so far. Please I have a problem with enabling datepicker in asp. net MVC application. It works well with Chrome but not Internet explorer. Do you have any ideas on this?. Thanks

    • @aapkanigam
      @aapkanigam  8 лет назад

      +Okwaro Isaac thanks dear ..keep learning and sharing.. Ya explore usually have script loading issues .. I will look into this issue ..

  • @Umer171
    @Umer171 7 лет назад

    how will we update or edit it according cascading because when i click on edit didnt load province cascading

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Umer Zaman are you getting error in jquery ?

    • @Umer171
      @Umer171 7 лет назад

      no Dear when i save record cascading working good but when i go to Edit button its give back country dropdown but not showing state data relative data according to country state dropdown is showing empty

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Umer Zaman seems like you are refreshing whole page . Are you using type =submit in edit button ? .

    • @Umer171
      @Umer171 7 лет назад

      i am using link button and not show model popup dropdowns in modal popup and not showing state dropdown on save showing but not in edit

    • @aapkanigam
      @aapkanigam  7 лет назад

      Can you show me your logic.it will be helpful for me to identify error

  • @muhammadsaqib6637
    @muhammadsaqib6637 7 лет назад

    Can you please add the Topic "5-Tier Architecture in ASP.NET MVC" CRUD operations.

  • @narendarsingh4672
    @narendarsingh4672 4 года назад

    Hellow sir ,make video on dynamic bind of radiobuttonfor

  • @nadezdajanjetovic9310
    @nadezdajanjetovic9310 7 лет назад

    Hi Ashish. Your videos are great! But unfortunately cascading dropdown list not working for me! I see that ajax not response partial view. Do you have any solutions? Thanks

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Nadezda Janjetovic I have shared the the code link ..have you tried that

    • @nadezdajanjetovic9310
      @nadezdajanjetovic9310 7 лет назад

      Yes, and when in browser i paste url localhost/Test/GetStateList?CountryId= 4 ,for check i see all name of states where countryid is 4,but on page localhost/Test/Index when i choose country, combobox of states is empty

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Nadezda Janjetovic ok I think there is an error in your ajax call .. right click on your browser then click on inspect option.Tap on console tab in inspector .If you see any error then tell me. You can also put break point on controller method to check data

    • @nadezdajanjetovic9310
      @nadezdajanjetovic9310 7 лет назад

      Thanks a lot for your answer! When i click on inspect element and console tab i got this error: Uncaught ReferenceError: $ is not defined
      at Index:43

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Nadezda Janjetovic oh you have not included jquery reference. Just give reference before starting script tag

  • @sivaboyidi9939
    @sivaboyidi9939 7 лет назад

    That's amazing. Thank you soooooooooooooooooooooooooooo much and can we achieve the same thing without using "CHANGE FUNCTION". If yes, could you please explain it without using jquery or js?
    Thanks in advance......

  • @adilkevin6220
    @adilkevin6220 6 лет назад

    Complete employee registration form I need using entity framework single stored procedure with countrycode, statecode,citycode being foriegn key of employee master table with all the possible crud operations

  • @anbuanbu6591
    @anbuanbu6591 4 года назад

    Edit mode how to bind casecading drop-down

  • @arunpareek6313
    @arunpareek6313 6 лет назад

    How open this list in edit mode?

  • @Umer171
    @Umer171 7 лет назад

    Good work dear ... just me clear on one thing how can we create its without creating partial view

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Umer Zaman thanks ..Partial simplifies the things. You can get the list of text and value in the list and return into Jquery response. The iteration through item in list by using $.each function in jquery . Then create html option tag with current text and value. Finally apend this to second dropdown(states).

    • @Umer171
      @Umer171 7 лет назад

      Sir When we Click back on --Select Country--- then state should be null again how we do this and when i click on submit button this error occur "There is no ViewData item of type 'IEnumerable' that has the key 'CountryID'."

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Umer Zaman after selecting --select-- you can add html option with value empty and text --select-- . Ex $("#secondDropdownId").html('--select--'):

  • @hardikpatel7567
    @hardikpatel7567 7 лет назад

    how to display images in sql database to mvc application

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Hardik Ribadiya please watch part 34 for this

  • @GeminiLearning
    @GeminiLearning 8 лет назад

    I'm also kindly requesting if you can do a video showing how to integrate geographic mapping into asp. net MVC apps eg using open layers, D3js or Google maps. Thanks Bro.

    • @aapkanigam
      @aapkanigam  8 лет назад +1

      +Okwaro Isaac surely..will add this topic into my list..

  • @2005Azm
    @2005Azm 7 лет назад

    Great tutorial !!

  • @sadcryofwind2507
    @sadcryofwind2507 7 лет назад

    tkanks your video. it's greate

  • @hardikpatel7567
    @hardikpatel7567 7 лет назад

    how to upload in next video for mvc part 38 and nexe

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Hardik Ribadiya Part 38 will be coming after this month. Thanks keep learning and sharing

    • @hardikpatel7567
      @hardikpatel7567 7 лет назад

      thanks ashish sir i have been complited in your mvc video in part 1 to 37 but problem in menu bar service list i click music button not open in music page please help me

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Hardik Ribadiya have you specified correct path to link ?

    • @hardikpatel7567
      @hardikpatel7567 7 лет назад

      ok i try in currect path

    • @hardikpatel7567
      @hardikpatel7567 7 лет назад

      search functionality in mvc part 37 but search text in menubar how to code maintain in layout

  • @AbidAli-el5gz
    @AbidAli-el5gz 7 лет назад

    how to save dropdownlist value into database in MVC

    • @aapkanigam
      @aapkanigam  7 лет назад

      +Abid Ali watch part 10 to 14

  • @janakaaravinda2507
    @janakaaravinda2507 7 лет назад

    Great... Thank you..

    • @aapkanigam
      @aapkanigam  7 лет назад

      +janaka aravinda thanks ..

  • @samvad9056
    @samvad9056 6 лет назад

    How to do drop-down cascading using single table

  • @daviddonadze221
    @daviddonadze221 7 лет назад

    omg your message popups going to give me a heart attack.

    • @aapkanigam
      @aapkanigam  7 лет назад

      +David Donadze haha .

    • @davidmercado8309
      @davidmercado8309 6 лет назад

      The same happened to me, I lost the dream overnight, my heart speed up

    • @ashishvishwakarma4526
      @ashishvishwakarma4526 6 лет назад

      Yes David !
      It happened with me also.
      I was watching the video using earphone.
      Suddenly my heart beat increased after it's message popup.