Category - GridView
Results 61 - 80 of 518
07 Jan 2019 07 Jan 2019 0 Comments  20337 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using jQuery in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
07 Jan 2019 07 Jan 2019 1 Comments  21338 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using JavaScript in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
27 Dec 2018 27 Dec 2018 1 Comments  30992 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckChanged event of CheckBox inside GridView in ASP.Net using C# and VB.Net.

When a CheckBox is checked or unchecked, a loop will be executed over the GridView rows and all the rows whose CheckBox is checked will be marked as selected and will be copied to another GridView.

The data from the selected GridView Cells or controls like Label, TextBox, DropDownList, etc. will be fetched and copied to the other GridView.
27 Dec 2018 27 Dec 2018 0 Comments  39713 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected Row (Cell) value in GridView using jQuery in ASP.Net.

When the Select LinkButton is clicked, the GridView Row is selected and a jQuery Click event handler is triggered.

Inside the jQuery Click event handler, the Cell values of the Selected Row are fetched and displayed using JavaScript Alert Message Box.
21 Dec 2018 21 Dec 2018 1 Comments  11617 Views
Here Mudassar Ahmed Khan has explained with an example, how to select (check) one (single) CheckBox in ASP.Net GridView using jQuery.

By default, multiple CheckBoxes in GridView are meant for multiple selection, thus in order to make it work as single selection i.e. only one (single) CheckBox can be selected at a time, jQuery needs to be used to achieve the same.
21 Dec 2018 21 Dec 2018 0 Comments  7630 Views
Here Mudassar Ahmed Khan has explained with an example, how to select (check) one (single) CheckBox in ASP.Net GridView using JavaScript.

By default, multiple CheckBoxes in GridView are meant for multiple selection, thus in order to make it work as single selection i.e. only one (single) CheckBox can be selected at a time, JavaScript needs to be used to achieve the same.
31 Oct 2018 31 Oct 2018 1 Comments  46618 Views
Here Mudassar Ahmed Khan has explained with an example, how to format DateTime field in dd/MM/yyyy format in ASP.Net GridView using C# and VB.Net.

This article will illustrate how to format DateTime field value to dd/MM/yyyy format in BoundField as well as TemplateField columns of ASP.Net GridView.
26 Oct 2018 26 Oct 2018 2 Comments  26375 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Nested Grid (GridView) with Expand Collapse in ASP.Net MVC Razor.
The Nested Grid (GridView) will be implemented with the help of WebGrid in ASP.Net MVC Razor.

The Nested WebGrid will be a combination of Parent – Child Table where Child WebGrid will be placed inside the Parent WebGrid and the Child WebGrid will be shown and hidden using Expand-Collapse feature in ASP.Net MVC Razor.
19 Sep 2018 19 Sep 2018 1 Comments  42396 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement inline editing in GridView in ASP.Net MVC Razor.

Since MVC does not have a GridView control, this article explains how to perform inline Row Edit operations i.e. Edit, Update and Cancel operations for a particular Row in WebGrid using Buttons in ASP.Net MVC Razor.

This article will illustrate how to build an Editable WebGrid using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.
19 Sep 2018 19 Sep 2018 0 Comments  36900 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Excel file in Web Page in ASP.Net using C# and VB.Net.

The Excel File will be read into a DataTable using OLEDB and ADO.Net and the DataTable will be used to display the Excel File in ASP.Net GridView.
04 Sep 2018 04 Sep 2018 0 Comments  32670 Views
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) additional Header row to GridView in ASP.Net using C# and VB.Net.

The additional Header row will be dynamically created and inserted inside the DataBound event of GridView control in ASP.Net.
07 Aug 2018 07 Aug 2018 0 Comments  19185 Views
Here Mudassar Ahmed Khan has explained with an example, how to add dynamic Header Row to GridView programmatically in ASP.Net using C# and VB.Net.

The dynamic Header Row will be added to GridView using the OnDataBound event in ASP.Net.
07 Aug 2018 07 Aug 2018 0 Comments  8072 Views
Here Mudassar Ahmed Khan has explained with an example, how to add dynamic Header Row inside Header Template in ASP.Net using C# and VB.Net.

The dynamic Header Row will be added inside the Header Template using the OnDataBound event in ASP.Net.
07 Aug 2018 07 Aug 2018 1 Comments  39520 Views
Here Mudassar Ahmed Khan has explained with an example, how to add multiple Headers (Header Row) to GridView in ASP.Net using C# and VB.Net.

Multiple Headers (Header Row) will be inserted to GridView using the OnDataBound event in ASP.Net.
24 Jul 2018 24 Jul 2018 0 Comments  9917 Views
Here Mudassar Ahmed Khan has explained with an example, how to read Excel file directly from FileUpload control without Saving file in ASP.Net using C# and VB.Net.

When the Excel file is uploaded, the Excel File data is available in the InputStream property of the FileUpload control.

Using ClosedXml library, the Excel file data can be easily read from the InputStream property.
24 Jul 2018 24 Jul 2018 1 Comments  32715 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add DropDownList in ASP.Net GridView using C# and VB.Net.

The DropDownList will be added inside TemplateField column of GridView in ASP.Net.
24 Jul 2018 24 Jul 2018 0 Comments  18296 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the GridView Row and its RowIndex on Client Side when the GridView Row is selected using jQuery.

When the Select LinkButton is clicked, a jQuery Click event handler will be called and using the reference of the Selected Row, the values will be fetched and displayed using JavaScript Alert Message Box.

This article will also explain how to read values from the Cells and TextBoxes present in the GridView Row using jQuery.
17 Jul 2018 18 Jul 2018 0 Comments  17049 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView to PDF with Header Repeated on each Page using iTextSharp in ASP.Net with C# and VB.Net.

When the Export Button is clicked, a loop will be executed over the GridView Pages using PageCount property and GridView records for specific Page will be added to a new page of PDF.

Thus, using this technique each Page of PDF will have records of one Page of GridView with Header.
16 Jul 2018 16 Jul 2018 0 Comments  25590 Views
Here Mudassar Ahmed Khan has explained with an example, how to store (save) GridView data in ViewState in ASP.Net using C# and VB.Net.

When a new row is added to GridView, the row data will be added to a DataTable and the DataTable will be saved in ViewState in ASP.Net.
16 Jul 2018 16 Jul 2018 0 Comments  14826 Views
Here Mudassar Ahmed Khan has explained with an example, how to make ASP.Net GridView responsive with jQuery Footable using C# and VB.Net.

A responsive GridView will fit and adjust itself to look good in Mobile Phone, Tablet and Desktop displays in ASP.Net.
Results 61 - 80 of 518