Category - Razor Pages
Results 41 - 60 of 89
16 Feb 2022 16 Feb 2022 0 Comments  8381 Views
Here Mudassar Khan has explained with an example, how to render Partial View inside Bootstrap Modal Popup in ASP.Net Core Razor Pages.

The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside Bootstrap Modal Popup in ASP.Net Core Razor Pages.
09 Feb 2022 09 Feb 2022 0 Comments  2003 Views
Here Mudassar Khan has explained with an example, how to load multiple Partial Views inside Loop using Model in ASP.Net Core Razor Pages.

The data will be fetched from database using Entity Framework and then multiple Partial Views will be rendered inside For Loop using the Razor Partial tag in ASP.Net Core Razor Pages.
09 Feb 2022 09 Feb 2022 0 Comments  2836 Views
Here Mudassar Khan has explained with an example, how to use the Razor Partial tag to render Partial View in ASP.Net Core Razor Pages.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the Razor Partial tag in ASP.Net Core Razor Pages.
09 Feb 2022 09 Feb 2022 0 Comments  1915 Views
Here Mudassar Khan has explained with an example, how to create and render Partial View in ASP.Net Core Razor Pages.

The data will be fetched from database using Entity Framework and then the Partial View will be rendered using the Razor Partial tag in ASP.Net Core Razor Pages.
04 Jan 2022 04 Jan 2022 0 Comments  4430 Views
Here Mudassar Khan has explained with an example, how to implement Contact Us Form in ASP.Net Core Razor Pages.

The Contact Us Form consists of TextBox controls, a Rich TextBox and a FileUpload control to attach file.

When the Send Button is clicked, the values from the TextBox fields are embedded into HTML string and the HTML string is send as Email along with the Attachment in ASP.Net Core Razor Pages.
03 Jan 2022 08 Jul 2022 0 Comments  9477 Views
Here Mudassar Khan has explained a simple tutorial with example, how to upload a file in ASP.Net Core Razor Pages.

This article will illustrate how to upload multiple files and then save the files in a Folder (Directory) inside the wwwroot Folder in ASP.Net Core Razor Pages.
18 Dec 2021 18 Dec 2021 0 Comments  3295 Views
Here Mudassar Khan has explained with an example, how to implement TinyMCE RichTextBox (RichTextEditor) in ASP.Net Core Razor Pages.

TinyMCE RichTextBox (RichTextEditor) is a JavaScript plugin and is applied to the HTML TextArea element.
18 Nov 2021 18 Nov 2021 0 Comments  4675 Views
Here Mudassar Ahmed Khan has explained, how to enable Session in ASP.Net Core.

By default, Session State is disabled in ASP.Net Core applications i.e. ASP.Net Core MVC and ASP.Net Core Razor Pages.

This article will cover the steps to enable Session Sate in ASP.Net Core applications.
16 Oct 2021 16 Oct 2021 0 Comments  5473 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Browser Cookies in ASP.Net Core Razor Pages.

This article will also explain how to perform operations on Cookies i.e. reading values stored in Cookies, writing (saving) values in Cookies and also removing (deleting) Cookies in ASP.Net Core Razor Pages.
16 Oct 2021 16 Oct 2021 0 Comments  7173 Views
Here Mudassar Ahmed Khan has explained why HttpContext.Current not working in ASP.Net Core Razor Pages and what is the alternative solution for using the functionality in ASP.Net Core Razor Pages.

Microsoft has permanently removed HttpContext.Current property from .Net Core and introduced a new interface IHttpContextAccessor for .Net Core.
24 Jun 2021 24 Jun 2021 0 Comments  7306 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement multiple Selection DropDownList using jQuery Select2 plugin in ASP.Net Core Razor Pages.

The multiple Selection DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core Razor Pages.
22 Jun 2021 22 Jun 2021 0 Comments  6433 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Searchable DropDownList using jQuery in ASP.Net Core Razor Pages.

The Searchable DropDownList will be populated from SQL Server database using Entity Framework in ASP.Net Core Razor Pages.
22 Jun 2021 22 Jun 2021 0 Comments  7622 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate (bind) DropDownList from database using Entity Framework in ASP.Net Core Razor Pages.
09 Apr 2021 09 Apr 2021 0 Comments  18621 Views
Here Mudassar Ahmed Khan has explained with an example, how to display message using JavaScript Alert MessageBox in ASP.Net Core Razor Pages.

The message sent from Razor PageModel (Code-Behind) to Razor PageModel (HTML) will be displayed in JavaScript Alert MessageBox using ViewData object.
07 Apr 2021 07 Apr 2021 0 Comments  17802 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckBoxes (CheckBoxList) in ASP.Net Core Razor Pages.

Group of multiple CheckBoxes (CheckBoxList) will be populated from SQL Server Database by looping through the Model.

The CheckBoxes are grouped by specifying common name for all CheckBoxes, this helps fetching their values as a collection in the Request header.
05 Mar 2021 06 Apr 2021 0 Comments  12298 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement RadioButtons (RadioButtonList) in ASP.Net Core Razor Pages.

Group of multiple RadioButtons (RadioButtonList) will be populated from SQL Server Database by looping through the Model.

The RadioButtons are grouped by specifying common name for all RadioButtons in ASP.Net Core Razor Pages.
19 Feb 2021 19 Feb 2021 0 Comments  4238 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX helpers in ASP.Net Core.

The POST method of the Razor Page will be called using jQuery Unobtrusive AJAX library in ASP.Net Core.
16 Feb 2021 16 Feb 2021 1 Comments  21697 Views
Here Mudassar Ahmed Khan has explained an example, how to use the Select List asp-items Tag Helper in ASP.Net Core Razor Pages.

The the Select List asp-items Tag Helper is used for populating DropDownList in ASP.Net Core Razor Pages.
16 Feb 2021 16 Feb 2021 0 Comments  12878 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate Select List from Database in ASP.Net Core Razor Pages.

The records from the Database will be populated into Model class objects and then the Model will be used to populate the DropDownList using the new ASP.Net Tag Helpers in ASP.Net Core Razor Pages.
29 Jan 2021 25 Apr 2022 0 Comments  3842 Views
Here Mudassar Khan has explained with an example, how to use AntiForgeryToken with jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The jQuery Unobtrusive AJAX library does not support adding headers to the request and hence it is not possible to send AntiForgeryToken.

Thus, the possible way is to make use of normal jQuery AJAX function and then send the AntiForgeryToken by adding it to the request headers.
Results 41 - 60 of 89