16 Sep 2014
0 Comments   66 Views
Here Mudassar Ahmed Khan has explained with some examples, how to use multiple DataKeyNames (DataKeys) in ASP.Net GridView.
16 Sep 2014
0 Comments   275 Views
Here Mudassar Ahmed Khan has explained with some examples, how to use the DataKeyNames (DataKeys) property of GridView in ASP.Net.
15 Sep 2014
0 Comments   464 Views
Here Mudassar Ahmed Khan has explained how to display images in GridView with LightBox effect whenever user clicks on images in ASP.Net using C# and VB.Net.
Thus building an Image Gallery using GridView with image enlarge feature whenever user clicks on the image.
14 Sep 2014
0 Comments   352 Views
Here Mudassar Ahmed Khan has explained how to enable disable TextBox in GridView when CheckBox is selected (checked) in ASP.Net using jQuery.

The article also features Header CheckBox which will allow users to enable disable TextBoxes in all rows when the Header CheckBox is selected (checked).
13 Sep 2014
0 Comments   407 Views
Here Mudassar Ahmed Khan has explained how to enable disable CheckBox in GridView based on some condition in ASP.Net using C# and VB.Net.
The CheckBox can be dynamically enabled and disabled in GridView in the following two ways

1. Using Eval function.
2. Using OnRowDataBound event.
12 Sep 2014
0 Comments   490 Views
Here Mudassar Ahmed Khan has explained how to export GridView Data to Excel using OpenXml library in ASP.Net using C# and VB.Net.
This article uses ClosedXml library along with OpenXml as ClosedXml is a wrapper library of OpenXml and makes it easier to use.
12 Sep 2014
0 Comments   272 Views
Here Mudassar Ahmed Khan has explained how to resolve the error System.Security.SecurityException: That assembly does not allow partially trusted callers when using iTextSharp Library DLL on a server that does not allow Full Trust to the Website.

Generally we face this issue when using Shared Hosting Servers and hence to resolve this issue we need to modify the iTextSharp DLL to allow partially trust callers.
11 Sep 2014
0 Comments   532 Views
Here Mudassar Ahmed Khan has explained how to populate (bind) CheckBox in GridView from database in ASP.Net using C# and VB.Net.

This article also explains how to save the CheckBox checked (selected) values to database in ASP.Net using C# and VB.Net.
09 Sep 2014
3 Comments   904 Views
Here Mudassar Ahmed Khan has explained how to create dynamic ASPX page in ASP.Net using C# and VB.Net. The dynamic ASPX pages will be created from database with the help of URL Routing.
08 Sep 2014
0 Comments   690 Views
Here Mudassar Ahmed Khan has shared with an example, a function to split a string in SQL Server 2005, 2008 and 2012 versions. The string containing words or letters separated (delimited) by comma will be split into Table values.

He has also explained how to use the Split function to split a string in a SQL Query or Stored Procedures in SQL Server 2005, 2008 and 2012 versions.
03 Sep 2014
0 Comments   1338 Views
Here Mudassar Ahmed Khan has explained how to display SubTotal and Grand Total in ASP.Net GridView using C# and VB.Net.

The records are divided into Groups and then SubTotal is calculated for each Group and then displayed using a dynamic Row in GridView.
02 Sep 2014
1 Comments   1083 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   669 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   485 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   638 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   1090 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   700 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   809 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
1 Comments   1355 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   1378 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   668 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   734 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   621 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   1114 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   1727 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.