05 Apr 2014
0 Comments   1463 Views
Here Mudassar Ahmed Khan has explained how to send email from database using stored procedure in SQL Server.
This technique makes use of Collaboration Data Objects (CDO) for sending email messages which works in most SQL Server versions 2000, 2008, 2008R2 and 2012.
04 Apr 2014
0 Comments   1107 Views
Here Mudassar Ahmed Khan has shown an easy way to set and change the color of GridLines in ASP.Net GridView using pure CSS and not through coding.

This is a cross browser solution and will work in all the major browsers like IE, Firefox, Chrome and Safari. Using the same CSS style you can also change the border width of the GridLines in ASP.Net GridView.
04 Apr 2014
0 Comments   694 Views
Here Mudassar Ahmed Khan has explained how to access ASP.Net Global Resource file in JavaScript, thus implementing Globalization in JavaScript strings.
31 Mar 2014
1 Comments   1141 Views
Here Mudassar Ahmed Khan has explained how to add, include and use JavaScript with Content Pages in ASP.Net.
20 Mar 2014
15 Comments   4344 Views
Here Mudassar Ahmed Khan has explained how to send Free SMS and Free Bulk SMS to mobile (cell) numbers in ASP.Net website. There are many websites that allow sending free SMS to mobile (cell) numbers like Way2sms, FullOnSMS, 160by2, Site2SMS, IndyaRocks.com SMSAbc.com, Ultoo.com, SmsSpark.com SMSFI.com Freesms8, Sms440, BhokaliSMS, etc.
16 Mar 2014
1 Comments   2092 Views
ASP.Net   HTML   Tips
Here Mudassar Ahmed Khan has explained how to maintain scroll position of HTML DIV on PostBack in ASP.Net. An HTML DIV with vertical scrollbar gets back to original position after PostBack and hence to solve this problem we need to retain its scroll position value using JavaScript and then again apply to the DIV after PostBack. This technique helps DIV not to lose its scroll position on PostBack.
11 Mar 2014
2 Comments   4413 Views
Here Mudassar Ahmed Khan has explained how to detect / find the IP Address of the client / user machine using JavaScript & jQuery.
10 Mar 2014
1 Comments   1669 Views
Here Mudassar Ahmed Khan has explained how to implement 5 Star rating using jQuery plugin, save the rating value rated by user to database and display the value of Average Rating (in decimal format) and the Total Rating from database using jQuery AJAX and WebMethods in ASP.Net.
08 Mar 2014
0 Comments   1835 Views
Here Mudassar Ahmed Khan has explained how to implement Form based Authorization and Authentication for user in ASP.Net.
08 Mar 2014
1 Comments   1452 Views
Here Mudassar Ahmed Khan has explained how to implement Role based Authorization and Authentication for user in ASP.Net using Forms Authentication.
02 Mar 2014
0 Comments   2672 Views
Here Mudassar Ahmed Khan has explained how to dynamically create HTML5 canvas charts using JavaScript, jQuery and JSON.

The HTML 5 Canvas charts have been implemented using the free Chart.js library to which JSON object is supplied as source of data. This article also covers procedure to display the animated HTML5 chart in browsers that do not support CSS3 like IE 8.
24 Feb 2014
7 Comments   3100 Views
Here Mudassar Ahmed Khan has explained how to implement and populate animated HTML5 Canvas charts from database using jQuery AJAX in ASP.Net.

The HTML 5 Canvas charts have been implemented using Chart.js library. This article also covers procedure to display the animated HTML5 chart in browsers that do not support CSS3 like IE 8.
19 Feb 2014
0 Comments   5397 Views
Here Mudassar Ahmed Khan has explained how to implement simple database driven RSS feeds for your website in ASP.Net.

The RSS Feed will be build using a Generic Handler and the data will be fetched from database.
17 Feb 2014
0 Comments   3762 Views
Here Mudassar Ahmed Khan has explained how to preserve or persists data / class objects / variable values across PostBacks in ASP.Net.

This is done by saving the data / class objects / variable in a ViewState object and then fetching it from it whenever needed.
17 Feb 2014
0 Comments   4717 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.
12 Feb 2014
0 Comments   4708 Views
Here Mudassar Ahmed Khan has explained how to implement “Show Password” functionality for Password TextBox when the “Show Password” CheckBox is checked using plain jQuery and no additional jQuery plugin.

This “Show Password” feature is of great use and it allows user to view and verify their password during registration as well as when logging into some website.
The article contains explanation for HTML Password TextBox as well as ASP.Net TextBox.
09 Feb 2014
0 Comments   5133 Views
Here Mudassar Ahmed Khan how to validate CheckBoxes inside Repeater and perform at least one checked validation using JavaScript in ASP.Net.

Validation of CheckBoxes inside Repeater is performed using ASP.Net CustomValidator with a client side JavaScript validation function.
03 Feb 2014
2 Comments   4902 Views
Here Mudassar Ahmed Khan has explained how to implement Role based security and page access using Forms Authentication in ASP.Net.
03 Feb 2014
0 Comments   4262 Views
Here Mudassar Ahmed Khan has explained with example how to implement simple Form based authentication using Login page and Login control in ASP.Net using C# and VB.Net.

The Form based authentication has been implemented using ASP.Net Membership Provider.

The sample code has been attached at the end of article.
31 Jan 2014
0 Comments   5253 Views
Here Mudassar Ahmed Khan has explained how to validate CheckBoxes inside GridView and perform at least one checked validation using JavaScript in ASP.Net.

Validation of CheckBoxes inside GridView is performed using ASP.Net CustomValidator with a client side JavaScript validation function.
26 Jan 2014
3 Comments   7122 Views
Here Mudassar Ahmed Khan has explained how to print specific (particular) part of web page in ASP.Net using C# and VB.Net.

The idea is to place the contents to be printed inside an ASP.Net Panel control and then print the contents of the Panel control.
24 Jan 2014
6 Comments   7609 Views
Here Mudassar Ahmed Khan has explained how to implement Role based security and page access to users and show/hide Menu items in ASP.Net Menu control based on User Role in ASP.Net.

User authentication and roles will be implemented using ASP.Net FormsAuthentication.
22 Jan 2014
0 Comments   5861 Views
Here Mudassar Ahmed Khan has explained how to validate / check file size before it is uploaded using jQuery Uploadify plugin.

By default there is no way to validate / check file size before it is uploaded, but jQuery Uploadify Plugin makes use of Flash program to determine the size of the File as soon as it is selected.
18 Jan 2014
2 Comments   6101 Views
Here Mudassar Ahmed Khan has explained how to read Excel File using OLEDB Data Provider Connection in C# .Net. Excel Workbook is just like database with sheets corresponding to tables.
This article covers reading of both Excel 2003 as well as OpenXML i.e. Excel 2007, 2010 and 2013 formats.
16 Jan 2014
2 Comments   9664 Views
In this article I will explain how search records (data) on TextBox KeyPress in GridView with paging enabled using jQuery in ASP.Net. The matching records will be shown as highlighted.

In one of my previous articles "Search GridView records (data) on TextBox KeyPress using jQuery in ASP.Net", I have implemented GridView search using jQuery QuickSearch but the jQuery QuickSearch plugin does not work for GridView which has Paging enabled.

Since we need to dynamically search and filter GridView records on TextBox KeyPress, we will need to bind the GridView using jQuery AJAX, C# and VB.Net