Partial View in ASP.NET MVC

Partial View in ASP.NET MVC like a  User Control in ASP.NET Web Forms. In order to reuse a View in our MVC application (For example, use a header, list of items or footer etc.), Partial Views are introduced that basically renders inside a Parent View. Let’s give an example to understand the concept of Partial Views in more….

ASP.NET MVC vs ASP.NET WebForms

In this article i am explaining mazor different   between Asp.MVC vs Asp.Net Web Forms. ASP.NET WebForms ASP.NET Web Forms uses Page controller pattern approach for rendering layout. In this approach, every page has it’s own controller i.e. code-behind file that processes the request. No separation of concerns. As we discussed that every page (.aspx)….

What is view state in asp.net

In Asp.Net ViewState is used for maintain the state of asp.net controls during page postback and if we save any control values or anything in viewstate we can access those values throughout the page whenever it required for that check below very simple example. <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title>View State in asp.net </title> </head> <body> <form….