Category - ASP.Net
Results 1 - 10 of 684
19 Sep 2014
0 Comments   645 Views
Here Mudassar Ahmed Khan has explained with an example, how to use / apply / set / enable / implement paging in DataList control in ASP.Net.

DataList control by default does not have paging (pagination) enabled hence we need to write custom stored procedure as well as develop a custom pager control in order to use / apply / set / enable / implement paging in DataList control in ASP.Net
17 Sep 2014
0 Comments   443 Views
Here Mudassar Ahmed Khan has explained with some examples, how to get value of DataKeyNames (DataKeys) in RowCommand and RowDataBound events of ASP.Net GridView using C# and VB.Net.
16 Sep 2014
0 Comments   486 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   574 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   974 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   717 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   662 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
1 Comments   758 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   430 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   796 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.