Category - Form
Results 26 - 30 of 31
05 Jul 2018 05 Jul 2018 0 Comments  40631 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Confirmation Box (Dialog) before Form Submit in ASP.Net MVC Razor.

The JavaScript Confirmation Message Box (Dialog) will be displayed using jQuery by attaching a Submit event handler to the Form.

When the Submit button is clicked, the Confirmation Message Box (Dialog) with OK (Yes) and Cancel (No) buttons will be displayed, if the User clicks OK (Yes) button only then the Form will be submitted and the Controller’s Action method will be called.
02 Mar 2015 30 Jun 2020 0 Comments  112333 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass the variable values created in JavaScript to Server Side (Code Behind) in ASP.Net using C# and VB.Net.
10 Jul 2014 26 Mar 2020 9 Comments  151245 Views
Here Mudassar Ahmed Khan has explained with an example, how to open page in new Tab from code behind when using Response.Redirect or Server.Transfer in ASP.Net.

To open a page in new Tab is a browser property and newer browsers will automatically open pages on new tab using this code but older browsers will still open it in new window unless the default settings are changed.
26 Jun 2013 26 May 2020 10 Comments  604414 Views
Here Mudassar Ahmed Khan has explained with an example, how to create a Contact Us Page in ASP.Net using C# and VB.Net.

The Contact Us Form contains some TextBox controls 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.
25 Jun 2012 25 Jun 2012 4 Comments  69644 Views
Here Mudassar Ahmed Khan has explained with an example, how to persist the variables created in JavaScript code across PostBacks in ASP.Net using C# and VB.Net.

This article also explains how to preserve JavaScript objects, variables and data across PostBacks without using ViewState in ASP.Net using C# and VB.Net.
Results 26 - 30 of 31