Category - Partial View
Results 1 - 20 of 21
14 Mar 2018 14 Mar 2018 1 Comments  19740 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Partial View to PDF file in ASP.Net MVC Razor.

First the Grid (Html Table) will be populated from database using Entity Framework inside the Partial View and then the HTML Table will be sent as HTML string to the Controller which ultimately will be exported to PDF file in ASP.Net MVC Razor.
14 Mar 2018 14 Mar 2018 0 Comments  11447 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Partial View to Excel file in ASP.Net MVC Razor.

First the Grid (Html Table) will be populated from database using Entity Framework inside the Partial View and then the HTML Table will be sent as HTML string to the Controller which ultimately will be exported to Excel file in ASP.Net MVC Razor.
14 Mar 2018 14 Mar 2018 0 Comments  11179 Views
Here Mudassar Ahmed Khan has explained with an example, how to embed a Partial View inside View i.e. render Partial View inside View in ASP.Net MVC Razor.

The Partial View data will be fetched from database using Entity Framework and then the Partial View will be rendered (embedded) using the @Html.Partial function inside View in ASP.Net MVC Razor.
25 Jan 2018 25 Jan 2018 0 Comments  13699 Views
Here Mudassar Ahmed Khan has explained with an example, how to select a WebGrid row in ASP.Net MVC Razor.

This article will also explain, how to get the value of the WebGrid selected row and pass the value of the WebGrid selected row to Partial View in ASP.Net MVC Razor.
24 Jan 2018 24 Jan 2018 0 Comments  12918 Views
Here Mudassar Ahmed Khan has explained with an example, how to render multiple Partial Views inside Loop using Model in ASP.Net MVC Razor.

The data will be fetched from database using Entity Framework and then multiple Partial Views will be rendered inside For Loop using the @Html.Action function in ASP.Net MVC Razor.
14 Jul 2017 14 Jul 2017 0 Comments  63627 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the PartialView function i.e. return Partial View from Controller in ASP.Net MVC Razor.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the @Html.Action function in ASP.Net MVC Razor.
14 Jul 2017 14 Jul 2017 0 Comments  12895 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the issue of @Html.RenderPartial not calling the Controller’s Action method of the Partial View in ASP.Net MVC Razor.

@Html.Partial and @Html.RenderPartial methods are not meant to call the Controller’s Action method, these methods will directly populate the Partial View from Model and render it.

In order to call the Controller’s Action method of the Partial View, the @Html.RenderAction method needs to be used in ASP.Net MVC Razor.
14 Jul 2017 14 Jul 2017 0 Comments  12852 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the issue of @Html.Partial not calling the Controller’s Action method of the Partial View in ASP.Net MVC Razor.

@Html.Partial and @Html.RenderPartial methods are not meant to call the Controller’s Action method, these methods will directly populate the Partial View from Model and render it.

In order to call the Controller’s Action method of the Partial View, the @Html.Action method needs to be used in ASP.Net MVC Razor.
13 Jul 2017 13 Jul 2017 0 Comments  47449 Views
Here Mudassar Ahmed Khan has explained with an example, how to render (return) Partial View as JSON using JsonResult function from Controller in ASP.Net MVC Razor.

The Partial View will be populated from database using Entity Framework, converted to a HTML string and then returned as JSON from Controller to the jQuery AJAX function using JsonResult function in ASP.Net MVC Razor.
07 Jul 2017 07 Jul 2017 1 Comments  20889 Views
Here Mudassar Ahmed Khan has explained with an example, how to render (return) Partial View as string from Controller in ASP.Net MVC Razor.

The Partial View will be populated from database using Entity Framework, converted to a HTML string and then returned as String from Controller to the jQuery AJAX function using ContentResult function in ASP.Net MVC Razor.
07 Jul 2017 07 Jul 2017 0 Comments  5453 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Entity Framework to populate Partial View in ASP.Net MVC Razor.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the @Html.Action function in ASP.Net MVC Razor.
07 Jul 2017 07 Jul 2017 0 Comments  10461 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the ChildActionOnly attribute in ASP.Net MVC Razor.

This article will also explain the significance and importance of the ChildActionOnly attribute in ASP.Net MVC Razor.
05 Jul 2017 05 Jul 2017 0 Comments  70895 Views
Here Mudassar Ahmed Khan has explained with an example, how to render Partial View in jQuery as Html.RenderPartial and Html.Partial helper functions will not work with jQuery Client Side scripting.

The Partial View will be returned from Controller using AJAX to jQuery AJAX method and finally it will be rendered as HTML inside DIV using jQuery in ASP.Net MVC Razor.
03 Jul 2017 03 Jul 2017 0 Comments  22889 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the @Html.RenderPartial function to render Partial View in ASP.Net MVC Razor.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the @Html.RenderPartial function in ASP.Net MVC Razor.
29 Jun 2017 29 Jun 2017 0 Comments  11029 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the @Html.Partial function to render Partial View in ASP.Net MVC Razor.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the @Html.Partial function in ASP.Net MVC Razor.
25 Jun 2017 25 Jun 2017 0 Comments  48188 Views
Here Mudassar Ahmed Khan has explained with an example, how to render Partial View inside DIV using AJAX in ASP.Net MVC Razor.

The Partial View will be populated and fetched using AJAX and finally it will be rendered as HTML inside DIV using jQuery in ASP.Net MVC Razor.
24 Nov 2016 24 Nov 2016 0 Comments  78720 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and display jQuery Modal Popup Dialog (Window) in ASP.Net MVC Razor.
The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside jQuery Modal Dialog (Modal Popup window).
26 Oct 2016 26 Oct 2016 1 Comments  45966 Views
Here Mudassar Ahmed Khan has explained with an example, how to build a Master Detail application in ASP.Net MVC.
The records from the database i.e. Master data will be displayed in Grid and the details of the Grid row will be displayed in Partial View inside jQuery Modal Popup.
26 Oct 2016 26 Oct 2016 0 Comments  29936 Views
Here Mudassar Ahmed Khan has explained with an example, how to render Partial View in jQuery as Html.RenderPartial and Html.Partial helper functions will not work with jQuery Client Side scripting.
The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside DIV using jQuery.
19 Oct 2016 19 Oct 2016 0 Comments  64494 Views
Here Mudassar Ahmed Khan has explained with an example, how to render Partial View inside DIV using jQuery in ASP.Net MVC.
The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside DIV using jQuery.
Results 1 - 20 of 21