Category - Form
Results 1 - 5 of 34
18 Nov 2020 18 Nov 2020 0 Comments  140 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the OnPost handler method in ASP.Net Core Razor Pages.

The OnPost handler method is used for handling Form Submissions and the name of the OnPost handler method is specified on the Submit Button used to submit the Form using the asp-page-handler attribute in ASP.Net Core Razor Pages.
17 Aug 2020 17 Aug 2020 0 Comments  2251 Views
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from Razor Page to POST Handler method in ASP.Net Core.

This article will explain how to create Form Fields and then send data from Razor Page to POST Handler method using Model class in ASP.Net Core.
30 Jun 2020 30 Jun 2020 0 Comments  1198 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from JavaScript function to Code Behind (Server Side) function in ASP.Net using C# and VB.Net.

The JavaScript Array will be converted into a Comma Separated string and then saved in a HiddenField and then will be sent to Code Behind (Server Side) function through PostBack (Form Submission) in ASP.Net using C# and VB.Net.
28 May 2020 28 May 2020 0 Comments  2206 Views
Here Mudassar Ahmed Khan has explained with an example, how to send Form Data to Email in ASP.Net using C# and VB.Net.

The Contact Us Form contains some 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 and the File is attached to the Email.
26 May 2020 26 May 2020 0 Comments  1889 Views
Here Mudassar Ahmed Khan has explained with an example, how to send email using Contact Us Form in ASP.Net using C# and VB.Net.

The Contact Us Form contains some 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 and the File is attached to the Email.
Results 1 - 5 of 34