Get the Checked Item from CheckBoxList in ASP.NET MVC

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this ASP.NET MVC Tutorial, i will teach you, how to bind checkbox list in ASP.NET MVC. How to get selected item of checkbox list in viewbag object.

ความคิดเห็น • 21

  • @motorhead41
    @motorhead41 3 ปีที่แล้ว

    Thank you very much for this. Very VERY helpful.

  • @manpreetkaur5568
    @manpreetkaur5568 2 ปีที่แล้ว

    Thanks a lot .Very helpful

  • @donfeto7636
    @donfeto7636 5 ปีที่แล้ว +1

    When i make like this the list send is null do you know the reason ?

  • @giovannidimeglio5436
    @giovannidimeglio5436 2 ปีที่แล้ว

    Very very helpful thank

  • @prakashs2158
    @prakashs2158 4 ปีที่แล้ว

    Thanks, Very use full..

  • @13altae
    @13altae 2 ปีที่แล้ว

    how can search in CheckBoxListx and keep value checkbox?

  • @KemTech1
    @KemTech1 ปีที่แล้ว

    How can I accomplsh this is Razor pages?

  • @webdesigndevelopment7345
    @webdesigndevelopment7345 4 ปีที่แล้ว +1

    I am getting error on getting checked checkboxes..It shows an exception that "System.NullReferenceException: 'Object reference not set to an instance of an object" when i apply foreach loop on fruitslist on post method

    • @tylerdurden890
      @tylerdurden890 4 ปีที่แล้ว

      I am getting the same error

    • @BaoNguyen-ob8kb
      @BaoNguyen-ob8kb 3 ปีที่แล้ว

      I am getting the same error, too. Have both fixed this problem yet? Can u help me?
      p/s: Sorry, my english is not good :((

    • @111yohan
      @111yohan 3 ปีที่แล้ว

      I have the same error, just click "continue" on the debugger in Visual Studio for every instance of the model and it should work fine if you did it correctly.

  • @durgeshbarodiya6731
    @durgeshbarodiya6731 7 ปีที่แล้ว +1

    sir how to selected Column Name in View page and Show the that Selected column Name only in asp.net mvc

  • @prakashbazz3867
    @prakashbazz3867 3 ปีที่แล้ว

    Thanks a lot 🙇‍♂️

  • @reshmavishe
    @reshmavishe 5 ปีที่แล้ว

    Sir
    How to pass id of multiple checked checkbox to controller without button click using Java script

  • @rajesharekallu3052
    @rajesharekallu3052 7 หลายเดือนก่อน

    sir plz this selected values how can we store in database

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  6 หลายเดือนก่อน

      must join best for you : th-cam.com/video/w5ruZpTmZv0/w-d-xo.html

  • @eduardoestevaodasilva4444
    @eduardoestevaodasilva4444 5 ปีที่แล้ว

    Thaaaaanks very much

  • @sachingreat222
    @sachingreat222 7 ปีที่แล้ว

    sir how we insert this selected item in database. after insertion how we get selected item checked in checboxlist

    • @ASPNETMVCCORE
      @ASPNETMVCCORE  7 ปีที่แล้ว +1

      Ok I will give you an example of this . You get a video video soon

  • @KryzAle
    @KryzAle 5 ปีที่แล้ว

    Thanks