02 Sep 2014
0 Comments   4 Views
Here Mudassar Ahmed Khan has explained how to export selected (checked) GridView Rows to PDF file in ASP.Net using C# and VB.Net.

The GridView consists of a CheckBox column to select / check the GridView Rows and when the Button is clicked then only the selected (checked) Rows are exported to PDF file.
30 Aug 2014
0 Comments   320 Views
Here Mudassar Ahmed Khan has explained how to remove specific / single / selected marker on Button click in Google Maps V3.
30 Aug 2014
0 Comments   246 Views
Here Mudassar Ahmed Khan has explained how to delete / remove / clear all markers present on map on Button click in Google Maps V3.
30 Aug 2014
0 Comments   301 Views
Here Mudassar Ahmed Khan has explained how to add marker / create marker when map is clicked in Google Maps V3.
29 Aug 2014
0 Comments   539 Views
Here Mudassar Ahmed Khan has explained how one can save users selections in SQL Server database and the repopulate or retrieve the same on next visit using ASP.Net CheckBoxList Control
29 Aug 2014
0 Comments   343 Views
Here Mudassar Ahmed Khan has explained how to populate (bind) TreeView from SiteMap using SiteMapDataSource in ASP.Net.

The SiteMap file contains navigation information about a website and using the SiteMapDataSource we can easily populate the TreeView control.
28 Aug 2014
0 Comments   436 Views
Here Mudassar Khan has explained how to Clone DropDownList Items i.e. Copy DropDownList Items to another DropDownList using jQuery.

The DropDownList is cloned and its items are copied to another DropDownList along with the Selected Value.
24 Aug 2014
0 Comments   935 Views
Here Mudassar Ahmed Khan has explained how to create text image on the fly with ASP.Net using C# and VB.Net.

The image generation is done dynamically using GDI+ library in ASP.Net.
24 Aug 2014
0 Comments   828 Views
Here Mudassar Ahmed Khan has explained how to edit GridView with BoundField column in ASP.Net using C# and VB.Net.

When the GridView Row enters Edit Mode, the BoundField column gets converted to a TextBox dynamically to allow user modify the values.
23 Aug 2014
0 Comments   381 Views
Here Mudassar Ahmed Khan has explained how to get the address location from Latitude and Longitude using the Google Maps Geocoding API.
23 Aug 2014
0 Comments   457 Views
Here Mudassar Ahmed Khan has explained how to populate or bind TreeView from database in ASP.Net using C# and VB.Net.
22 Aug 2014
0 Comments   382 Views
Here Mudassar Ahmed Khan has explained how to pass XML file as parameter to Stored Procedure in C# and VB.Net.
22 Aug 2014
0 Comments   617 Views
Here Mudassar Ahmed Khan has explained, how to get the selected row of GridView on Button click in ASP.Net.
The GridView Row is selected using the Select Button and then the values are fetched from the Selected Row Columns.
22 Aug 2014
0 Comments   1091 Views
Here Mudassar Ahmed Khan has explained how to display Session Timeout message before Session expires in ASP.Net.

The concept behind this approach is to inform the user in advance that his session is about to expire and show him a Session timeout counter.
20 Aug 2014
0 Comments   775 Views
Here Mudassar Ahmed Khan has explained how to validate a dd/MM/yyyy format date string in TextBox in ASP.Net.
The dd/MM/yyyy date format string can be validated in the following possible ways

1. Using RegularExpressionValidator.
2. Using CustomValidator and JavaScript.
3. Using CustomValidator with Server Side validation using C# and VB.Net.
19 Aug 2014
0 Comments   742 Views
Here Mudassar Ahmed Khan has explained how to login with Google Account in ASP.Net Website using C# and VB.Net by making use of the free ASPSnippets.GoogleAPI.
18 Aug 2014
0 Comments   640 Views
Here Mudassar Ahmed Khan has explained how to make the markers Draggable in Google Maps V3 with example i.e. how to drag and drop markers in Google Maps using JavaScript.

In additional to the drag drop functionality, he has also explained how to get the location details i.e. Latitude, Longitude and Address when the marker is dropped using the marker dragend event.
17 Aug 2014
0 Comments   1041 Views
Here Mudassar Ahmed Khan has explained how to automatically refresh ASP.Net AJAX UpdatePanel in ASP.Net.

UpdatePanel can be refreshed automatically after specific time or regular interval using the following two techniques.

1. Using AJAX Timer control.
2. Using JavaScript.
16 Aug 2014
1 Comments   793 Views
Here Mudassar Ahmed Khan has explained how to refresh (reload) UpdatePanel from JavaScript in ASP.Net.

Refreshing or reloading is achieved by making an ASP.Net AJAX UpdatePanel do a PostBack using JavaScript. This article will explain the different ways you can refresh or reload an UpdatePanel using JavaScript.

1. Using Hidden Button
2. Using __doPostBack
14 Aug 2014
0 Comments   1240 Views
Here Mudassar Ahmed Khan has explained how to send Bulk (Mass) email in ASP.Net website using C# and VB.Net.

In order to improve the performance using Parallel ForEach Loop to send Bulk (Mass) emails by making use of Multi-Threading in ASP.Net.
14 Aug 2014
0 Comments   781 Views
Here Mudassar Ahmed Khan has explained how to handle errors and exceptions occurring in ASP.Net AJAX UpdatePanel control.

When AJAX UpdatePanel does Partial PostBack (AsyncPostBack) and some exception is thrown on the server side code, then the UpdatePanel will simply stuck and will not refresh and you will not see any error or exception from ASP.Net. Hence it is necessary to handle the ASP.Net AJAX UpdatePanel Exceptions and Errors.
11 Aug 2014
0 Comments   1013 Views
Here Mudassar Ahmed Khan has explained how to save image as binary data into SQL Server database and also how to retrieve and convert the image back to their respective formats using C# and VB.Net.
11 Aug 2014
0 Comments   760 Views
Here Mudassar Ahmed Khan has explained how to save file as binary data inside SQL Server database and also how to retrieve them and convert them back to their respective formats using C# and VB.Net.
10 Aug 2014
0 Comments   933 Views
Here Mudassar Ahmed Khan has explained how to dynamically create/generate Zip Files on the fly in ASP.Net using the DotNetZip Library, C# and VB.Net.
10 Aug 2014
0 Comments   1050 Views
Here Mudassar Ahmed Khan has explained how to upload and insert XML file data using Stored Procedure in ASP.Net using C# and VB.Net.

SQL Server 2005 onwards we can pass a parameter of XML data type to the Stored Procedure and also we can easily parse the XML and extract its attribute and Inner Text of tags.