Category - Snippets
Results 1 - 20 of 31
15 Aug 2015 15 Aug 2015 0 Comments  36086 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the SQL Server sp_executesql command and how to pass parameters to sp_executesql command in SQL Server.
Dynamic SQL Query can be executed with parameters using the sp_executesql command in SQL Server.
The sp_executesql command is supported in SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012, 2014 or higher.
15 Aug 2015 15 Aug 2015 1 Comments  50993 Views
Here Mudassar Ahmed Khan has explained with an example, how to write and execute dynamic SQL Query in SQL Server.
Dynamic SQL Query can be executed using EXEC and sp_executesql commands in SQL Server.
Execution of dynamic SQL is supported in SQL Server versions i.e. 2000, 2005, 2008, 2008R2, 2012, 2014 or higher.
29 Jun 2015 29 Jun 2015 0 Comments  13921 Views
Here Mudassar Ahmed Khan has provided an example to animate jQuery ScrollTop function i.e. how to implement jQuery ScrollTop with animation.
17 May 2015 17 May 2015 0 Comments  17812 Views
Here Mudassar Ahmed Khan has explained how to get and extract Inner Text from HTML HyperLink (Anchor tags) using Regular Expression (Regex).
16 May 2015 16 May 2015 0 Comments  18060 Views
Here Mudassar Ahmed Khan has explained an example of animated smooth Scroll to Top of page functionality using jQuery
In order to make the scroll to top of page action smooth, jQuery animation has been used.
24 Mar 2015 24 Mar 2015 0 Comments  14990 Views
Here Mudassar Ahmed Khan has explained, how to perform Numeric (number) validation using TextBox OnKeyPress event in JavaScript.
31 Dec 2014 31 Dec 2014 1 Comments  102226 Views
Here Mudassar Ahmed Khan has explained, how to perform Numeric validation in TextBox on KeyPress using JavaScript in such a way that the TextBox will accept only numbers i.e. numeric values or digits in TextBox.
22 Apr 2014 22 Apr 2014 1 Comments  69920 Views
Here Mudassar Ahmed Khan has explained how to use and pass parameters to dynamic SQL in SQL Server.
11 Mar 2014 11 Mar 2014 4 Comments  107396 Views
Here Mudassar Ahmed Khan has explained how to detect / find the IP Address of the client / user machine using JavaScript & jQuery.
17 Feb 2014 17 Feb 2014 0 Comments  28513 Views
Here Mudassar Ahmed Khan has explained, how to implement Scrolling back to Top Button using plain jQuery and no additional jQuery Plugins.
In order to make the Scrolling back to Top action smooth, jQuery animation has been used.
22 Nov 2013 22 Nov 2013 0 Comments  29477 Views
Here Mudassar Ahmed Khan has explained, explain how to validate ASP.Net CheckBoxList using jQuery in ASP.Net.

jQuery ValidationEngine plugin is used to perform validation of ASP.Net CheckBoxList. Validations such at least one (minimum one) checkbox must be checked, at least two (minimum two) checkbox must be checked, etc.
19 Nov 2013 19 Nov 2013 3 Comments  27511 Views
Here Mudassar Ahmed Khan has explained how to validate ASP.Net RadioButtonList using jQuery in ASP.Net.

jQuery ValidationEngine plugin is used to perform validation of ASP.Net RadioButtonList.
04 Sep 2013 04 Sep 2013 8 Comments  107565 Views
Here Mudassar Ahmed Khan has explained, how to raise an event on server when enter key is pressed inside TextBox in ASP.Net.

There is no server side key press event for an ASP.Net TextBox, hence using a Panel and its Default Button trick we can achieve the same.
02 Aug 2013 30 Jan 2019 9 Comments  147425 Views
Here Mudassar Ahmed Khan has explained, with an example, how to restrict user from entering Special Characters in TextBox using JavaScript.

This article will illustrate how to perform AlphaNumeric validation for TextBox i.e. allow only Alphabets and Numbers in TextBox using JavaScript.

The script works in such a way that the Password TextBox will accept only alphabets, numbers i.e. AlphaNumeric values, thus unless a Special Character key has been specified to be excluded it won’t be accepted.
31 Jul 2013 31 Jul 2013 7 Comments  177631 Views
Here Mudassar Ahmed Khan has explained, how to perform Numeric validation in TextBox using JavaScript in such a way that the TextBox will accept only numbers i.e. numeric values or digits in TextBox.

He has also disabled the input via Dropping and Pasting so that user is not allowed directly drop or paste content in textbox and only way to input values is by typing through Keyboard.
31 Jul 2013 31 Jul 2013 2 Comments  152093 Views
Here Mudassar Ahmed Khan has explained, how to perform Numeric validation in TextBox using jQuery in such a way that the TextBox will accept only numbers i.e. numeric values or digits in TextBox.

He has also disabled the input via Dropping and Pasting so that user is not allowed directly drop or paste content in textbox and only way to input values is by typing through Keyboard.
31 Jul 2013 31 Jul 2013 0 Comments  51697 Views
Here Mudassar Ahmed Khan has explained, how to user is allowed to enter only numbers i.e. numeric values or digits in TextBox using jQuery.

He has also disabled the input via Dropping and Pasting so that user is not allowed directly drop or paste non numeric value in textbox.
31 Jul 2013 31 Jul 2013 12 Comments  186201 Views
Here Mudassar Ahmed Khan has explained, how to allow user to enter only numbers i.e. numeric value or digits in TextBox using JavaScript.

He has also disabled the input via Dropping and Pasting so that user is not allowed directly drop or paste non numeric value in textbox.
31 Jul 2013 31 Jul 2013 1 Comments  97652 Views
Here Mudassar Ahmed Khan has explained, how to implement TextBox with Search Icon in ASP.Net as well as pure HTML.

The idea is to place a background image for the TextBox using CSS and then the CSS class can be applied to ASP.Net as well as HTML INPUT TextBoxes.
29 Jul 2013 29 Jul 2013 0 Comments  44982 Views
Here Mudassar Ahmed Khan has explained, how to restrict or prevent user to enter only numbers i.e. numeric value or digits in TextBox using jQuery.

He has also disabled the input via Dropping and Pasting so that user cannot directly drop or paste non numeric content in textbox.
Results 1 - 20 of 31