Category - JavaScript
Results 1 - 5 of 510
22 Oct 2020 22 Oct 2020 0 Comments  9737 Views
Here Mudassar Ahmed Khan has explained with an example, how to trigger TextBox OnBlur event on Server Side (Code-Behind) in ASP.Net with C# and VB.Net.

By default, there is no Server Side OnBlur event and the only similar event is provided by ASP.Net is TextChanged event but TextChanged event fires only when Text is changed while OnBlur event fires when Focus is lost despite whether Text is changed or not.
29 Sep 2020 29 Sep 2020 0 Comments  723 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Static files (Images, CSS and JS files) in ASP.Net Core.

Static files such as Image files, CSS files and JavaScript JS files does not work in ASP.Net Core unless it is placed in proper location with the project and also some settings are set.
14 Aug 2020 14 Aug 2020 0 Comments  1280 Views
Here Mudassar Ahmed Khan has explained with an example, how to print HTML Table using JavaScript.

The HTML Table will be printed with a Print Preview using JavaScript.
12 Aug 2020 12 Aug 2020 0 Comments  1159 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Google reCAPTCHA V2 (version 2.0) in ASP.Net MVC Razor.

The Google reCAPTCHA V2 (version 2.0) allows to validate the Captcha response on client side using its Callback functions.

The Google RECaptcha 2.0 will be validated on Client Side using JavaScript and jQuery in ASP.Net MVC Razor.
06 Aug 2020 06 Aug 2020 0 Comments  955 Views
Here Mudassar Ahmed Khan has explained with an example, how to call JavaScript function with CommandField in ASP.Net GridView using C# and VB.Net.

Inside the RowDataBound event handler, the Button will be referenced and then JavaScript function will be assigned to its Client Side OnClick event handler.

Thus when the CommandField Button is clicked, the JavaScript function will be called in ASP.Net using C# and VB.Net.
Results 1 - 5 of 510