Top Categories
Part 19- Difference between Html.Partial and Html.RenderPartial in asp.net mvc | Interview question
- Category: Information Technology
- Sub Category: ASP.NET
OVERVIEW
Hi , Here in this video you are going to get the difference between Html.Partial and Html.RenderPartial which is frequently asked question in any interview for dot net profile .
Many people used to forget and missed out to recall in interview because they know the words but what is the mea
OVERVIEW
Hi , Here in this video you are going to get the difference between Html.Partial and Html.RenderPartial which is frequently asked question in any interview for dot net profile .
Many people used to forget and missed out to recall in interview because they know the words but what is the meaning of that they dont know. . By this video you will see the practical differences between Html.Partial and Html.RenderPartial .Hope this will be helpful for you.
SOCIAL :
Like TechnoTips official Page : http://facebook.com/technotipstutorial
Subscribe : http://youtube.com/user/aapkanigam
Follow us on Twitter : @technotipsMVC
Get CODE HERE:
http://technotipstutorial.blogspot.in/2016/12/part-19-difference-between-htmlpartial.html
INTRODUCTION :
Difference between Html.Partial and Html.RenderPartial ?
#Html.Partial
a) @Html.Partial(“PartialViewName”, new { id = 1} );
b) Renders the partial view as an HTML-encoded string.
c) This method result can be stored in a variable, since it returns string type value
d) Simple to use and no need to create any action.
# Html.RenderPartial
a) @{ Html.RenderPartial(“PartialViewName”, object);}
b) This method result will be directly written to the HTTP response stream means it uses the same TextWriter object as used in the current webpage/template
c) This method returns void
d) This method is faster than Partial method since its result is directly written to the response stream which makes it fast
RECOMMENDATION:
1. Part 14 insert data using JQuery : https://www.youtube.com/watch?v=YcNnMlQGGkE
2.Bootstrap Popup modal : https://www.youtube.com/watch?v=hKulrfOP_HI
TAGS :
Partial view in mvc
html.partial
html.RenderAction
how to create a - website
how to create bootstrap popup modal
asp. net mvc
asp.net mvc interview questions
asp .net mvc tutorial
asp. net mvc 4
asp.net mvc 5 tutorial
asp net mvc developer
asp net mvc continuous integration
asp net mvc hosting
model view controller
jquery-ajax Post
$ ajax jquery
jquery ajax tutorial
viewbag
$controller
$model
razor view engine
how to create bootstrap popup modal