Category - ASP.Net
Results 161 - 170 of 668
24 Sep 2013
1 Comments   6606 Views
Here Mudassar Ahmed Khan has explained how to export GridView to Excel without losing GridLines in Exported Excel file in ASP.Net using C# and VB.Net.
22 Sep 2013
9 Comments   13040 Views
Here Mudassar Ahmed Khan has explained how to get the value of ReadOnly TextBox on PostBack and also how to retain its value across PostBacks.

A common example is when working with AJAX Calendar Control, when date is selected the value is set client side using JavaScript by the Calendar Control and if the TextBox is set as ReadOnly the selected date value is lost and the updated value is not available in the TextBox Text property on PostBack.
22 Sep 2013
0 Comments   6943 Views
Here Mudassar Ahmed Khan has explained how to populate dynamic month names in DropDownList in ASP.Net.

This article also explains how to add leading zeros to single digit so that it appears as 01, 02….09 when populated in ASP.Net DropDownList.
17 Sep 2013
0 Comments   9940 Views
Here Mudassar Ahmed Khan has explained how to group GridView Header Row Column Cells and display Multiple Columns under Single Column in ASP.Net.

The above change results in a GridView with multiple header rows, one with the grouped header column fields and other with the actual GridView column header fields.
16 Sep 2013
6 Comments   41969 Views
Here Mudassar Ahmed Khan has explained how to use and return value from Stored Procedure using Output Parameter in ASP.Net.

For this article I a Table named Fruits is used which contains FruitId and FruitName columns. The name of the Fruit is fetched using Output Parameter in SQL Server Stored Procedure in ASP.Net
15 Sep 2013
1 Comments   11593 Views
Here Mudassar Ahmed Khan has explained the difference between Label and Literal controls in ASP.Net and when to use Label control and when Literal control.
14 Sep 2013
2 Comments   16472 Views
Here Mudassar Ahmed Khan has explained how to check uncheck all (select unselect all) CheckBoxes in ASP.Net CheckBoxList control using jQuery.
The check uncheck all functionality will be done using an additional CheckBox that will act as Check All CheckBox for the ASP.Net CheckBoxList control.
12 Sep 2013
2 Comments   9197 Views
Here Mudassar Ahmed Khan has shown the technique how to automatically hide an ASP.Net Label control after some seconds (say 5 seconds) using JavaScript.
11 Sep 2013
1 Comments   8523 Views
Here Mudassar Ahmed Khan has explained how to validate ASP.Net CheckBoxList control using Custom Validator and perform at least one CheckBox Checked Validation in it. The ASP.Net Custom Validator will make us eof JavaScript function to validate the CheckBoxList control.
09 Sep 2013
2 Comments   9775 Views
Here Mudassar Ahmed Khan has explained how to validate ASP.Net CheckBoxList control and check whether at least one CheckBox is checked using JavaScript at client side.