Results 31 - 35 of 38
05 Sep 2018 05 Sep 2018 0 Comments  8022 Views
Here Mudassar Ahmed Khan has explained with an example, how to open (show) Bootstrap Modal Popup Window using jQuery.

The Button will be assigned a jQuery Click event handler. When the Button is clicked, the Bootstrap Modal Popup Window is opened (shown) on Client Side using jQuery.
05 Sep 2018 05 Sep 2018 1 Comments  28163 Views
Here Mudassar Ahmed Khan has explained with an example, how to open (show) Bootstrap Modal Popup Window from Server Side (Code Behind) in ASP.Net using C# and VB.Net.

When the Button is clicked, the Server Side Button Click event handler is triggered in Code Behind and then using RegisterStartupScript method of ClientScript class, the Bootstrap Modal Popup Window is opened (shown) on Client Side using jQuery.
07 Aug 2018 07 Aug 2018 0 Comments  4530 Views
ASP.Net  MVC  Web API  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data to Web API using Html.BeginForm Helper method in ASP.Net MVC Razor.
27 Jul 2018 27 Jul 2018 0 Comments  6320 Views
Here Mudassar Ahmed Khan has explained with an example, how to run (call) JavaScript function after PostBack of ASP.Net Button.

When the Button is clicked, PostBack happens and the Click event handler of the Button is called.

Inside the Click event handler, a call to the JavaScript function can be registered using RegisterStartupScript method of ClientScript class in ASP.Net.
05 Jul 2018 05 Jul 2018 0 Comments  15487 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.
Results 31 - 35 of 38