Part 17- What is Partial View in ASP.NET MVC | Interview Question

  Рет қаралды 37,859

Technotips Ashish

Technotips Ashish

Күн бұрын

Пікірлер: 21
@kaushikbhadani4227
@kaushikbhadani4227 7 жыл бұрын
Very Very Nice Man!! you are awesome!!
@aapkanigam
@aapkanigam 6 жыл бұрын
+kaushik bhadani Thanks!
@navzme
@navzme 6 жыл бұрын
Thanks for awesome video
@sachingreat222
@sachingreat222 6 жыл бұрын
Do we fetch record on partial view and embedded on any view?
@AttaurRahman1
@AttaurRahman1 7 жыл бұрын
Good work Boy ... Really helpful stuff ...
@aapkanigam
@aapkanigam 6 жыл бұрын
+Atta ur Rahman Thanks
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
Sir,it is possible to handle complex query using linq query.
@narendarsingh4672
@narendarsingh4672 5 жыл бұрын
Sir,I request to u upload tutorial of how to use store-procedure instead of linq query
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
Great
@tejaswini_nanaware
@tejaswini_nanaware 6 жыл бұрын
Hi Ashish, I want to know if you have made a video to handle 'many-to-many' relationships in a database? Association tables are not displayed when we create the model by Database First Approach. I wanted to know how to create a 'create' and 'display' view if we need more than one table's data? On creating a Scaffold Item, the fields that are present only in a single table are displayed. Please let me know if you can help. Thank you.
@aapkanigam
@aapkanigam 6 жыл бұрын
+Tejaswini Nanaware You should watch part 13 to insert data into multiple table. Part 26 will help you to create multiple table and setting relation among them..thanks
@erfanmehrvash
@erfanmehrvash 7 жыл бұрын
Hello Sir. Thank you very much for the amazing tutorial, is it possible share the code Part _LoginPartial and explain it how to add @using Microsoft.Aspnet.Identity. And what is the code after htmlAttribute.
@duncanmcdonald5250
@duncanmcdonald5250 6 жыл бұрын
And yet again Ashish makes use of something but makes no attempt to explain how it appeared. This is a habit I hope he stops soon, as makes following the tutorials a VERY frustrating process. I am just about at the point where this "Here's one I made earlier. I'm not going to tell you do it, work it out for yourself" attitude makes this series a deeply irritating one. Anyway, I think the answer to your question is: You get the "Microsoft.Aspnet.Identity" by adding the NuGet package: Go to the "Tools" menu and select "NuGet Package Manager" and then "Manage NuGet Packages For Solution" from the sub-menu. Select "Browse" and type in "identity" in the search box. I selected "Microsoft.Aspnet.Identity.Core" and installed that. This could be the wrong NuGet package, but I had to make a guess as WE ARE NOT TOLD HOW TO DO THIS!!!!!!! I just manually created the "_Layout.cshtml": Select the "Shared" folder in the "Solution Explorer". Right click and select "Add" -> "New Item". Select "Web" -> "MVC" -> "MVC5 Partial Page (Razor)" (Your options might be different from my Visual Studio 2017) Give it the name "_LayoutPartial" and press "Add". Then copy out the code shown in the tutorial. GitHub gave me a clue what the "htmlAttributes" might be: "htmlAttributes: new { @class = "username", title = "Manage" }" Again, this could be the wrong way to do this, but, again, WE ARE NOT TOLD THE CORRECT WAY TO DO THIS!!!!!! After all this, I can now move beyond 2:40 in the tutorial and find out if my guesses are correct. It would have been useful if in addition to being shown the three different rendering method, we had also been given some kind of explanation about when we we should be using each of them. At around 12:25, when you are creating the Controller method, you will see that initially you try to call "_LayoutPartial", it should be "_LoginPartial". At around 15:20, when you are creating a new PartialView in the Test folder, I think the method shown is to right click in TestController.cs code window. When I did this, my "Add View" window was not defaulted to create a partial view. So when you do it, check the "Create as a partial view" tickbox is ticked, and type in the required "View name".
@mohanmani4245
@mohanmani4245 2 жыл бұрын
USe this:- Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution and installed the Microsoft.AspNet.Identity.Core
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
Sir,I request u how to use store-procedure instead of linq query ,
@fatikhangasimov8204
@fatikhangasimov8204 7 жыл бұрын
Hello Sir . Could you create a video about dynamic menu from database? and this menu have to show in all pages
@aapkanigam
@aapkanigam 7 жыл бұрын
+Fatixan Qasimov you can do in with partial view .. use @html.RenderPartial (method name,controller) and write method in any controller which will return partial view .Pass model data in partial view to generate dynamic links ..
@prasadgond199
@prasadgond199 8 жыл бұрын
Great videos, simple explanation, easy to understand. -sir if possible then plz upload c # oops concept i'm really waiting for that
@aapkanigam
@aapkanigam 8 жыл бұрын
+Prasad Gond Thanks ! Ya I will cover each and everything step by step ..keep learning and sharing..
@prasadgond199
@prasadgond199 8 жыл бұрын
+Techno Tips - ohk thks
@theodenking2420
@theodenking2420 5 жыл бұрын
ok ...ok...ok, it's make me crazy
Part 18- How to call a partial View using JQuery in ASP.NET MVC
12:26
Technotips Ashish
Рет қаралды 58 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,5 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 2,9 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 11 МЛН
24 - Dynamic Partial View
18:33
Code Semantic
Рет қаралды 7 М.
Part 23- RenderBody , RenderSection and RenderPage method in ASP.NET MVC
15:15
What is MVC architecture?
5:57
Abhay Redkar Academy
Рет қаралды 235 М.
62. .NET Framework vs .NET Core vs .NET vs .NET Standard vs C#
25:14