Partial views in asp net core

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

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

  • @rushas
    @rushas 3 года назад +4

    This is a great, short and spot on tutorial that tackles directly to the problem and provides detailed explanations without any nonsense. Very good job!

  • @jvusa
    @jvusa 3 года назад +2

    Super, You are explaining in detail and very informative...God Bless...

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

    Thank you, very easy to understand.

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

    Thanks!! helped a lot to understand what are partials for

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

    that's what i was lookin for, thank you !!!

  • @falcongreens2570
    @falcongreens2570 3 года назад

    Very good instructor indeed

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

    Thank you for the informative example!

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

    Really good videos.Thank you..

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

    Great video!

  • @aleksandar4541
    @aleksandar4541 3 года назад +3

    When i click "add view" i can only choose Razor view and Razor view empty, and i dont have that addition window when i can choose will it be partial or normal view...can you tell me whats going on here?

    • @talon96
      @talon96 3 года назад

      I added a Razor View without the Model page. Looks like what he got in the video.

  • @吉田善紀-d6b
    @吉田善紀-d6b 4 года назад

    Thanks That's great!

  • @rayt6867
    @rayt6867 5 лет назад

    Hello and many thanks for all of your teachings, I was wondering if is possible to pass more than one value to the partial view, one way is to create a view model right? Or an array?, which I am not sure, but how about tuple? I don' know, I guess I was thinking out loud. If is possible, could you show some examples.

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

    Reminds me of React components. Nice feature

  • @masif9221
    @masif9221 5 лет назад

    @Venkat you explain things better ...
    But My question is that it's part of asp. Net core 2.2.?

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

    Thanks, Venkat! Nice explanation.
    Is it possible to have a partial view with its own Model class?
    I want to have multiple content pages, where the dynamic data-driven menu being the same on all pages. I was thinking, if I could have a model in my partial page, I can build the menu in the partial view and show that in my content page. That way I don't have to have the menu logic in all my content pages.

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

    @kudvenkat is it possible to use scripts from the _Layout view inside of the partial? What do i have to do to use those scripts definded in the Layout

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

    Isn't ViewData already available in the partial view?

  • @aussieraver7182
    @aussieraver7182 3 года назад

    What if my partial view is only relevant for a specific page?
    Do I still put it in the shared folder?
    I'm obsessed with standards, haha.

  • @sakthir3892
    @sakthir3892 5 лет назад

    Good Morning Venkat sir...

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

    Thank you sir.

  • @edwardmullan2724
    @edwardmullan2724 5 лет назад

    Ha, uploaded just as I am learning this. Serendipity.

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

    Anybody else getting "System.NullReferenceException: 'Object reference not set to an instance of an object.'"?
    I do have info in my table.
    I am trying to display database information from 1 model to another model view. Is that possible? I thought that was the purpose of a partial view.

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

    This

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

    this has a lot of disadvantages than mvc.

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

      so microsoft is going back from mvc to webforms approach. kind of disappointment on them

  • @tanoryjakaperdana1419
    @tanoryjakaperdana1419 8 месяцев назад

    Hi.. i tried
    but the single quotes not rendered..

  • @branislavbilly
    @branislavbilly 3 года назад

    Great video!

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

    Thank you sir.