ASP.NET Grid - Site Map

Examples - 313
Knowledge Base - 1

ASP.NET Grid - Knowledge Base

Hide sorting arrows for columns that cannot be sorted
Back color for rows and selection
Stop the execution of the client-side event handlers if there is an error during the insert/update/delete
Access cell data in the RowDataBound event handler
Clear a ComboBox from the Grid after adding a new row
Scrollbar position
How to align filter links to left
Get the values from the filter fields on the server-side
Right-align last column with scrolling
Hide column but access it programmatically
Refresh a Grid when another Grid is updated
Single selection with CheckBoxSelectColumn
Disable reordering for some of the columns
Controls in template cannot be focused
GenerateRecordIds - All rows have the same ID
Clear sorting
Put the grid in add mode on page load
Grouping lost when rebinding the Grid
Enable/Disable edit for excel-style
Change ScrollWidth from client-side
Custom read-only column
Column reorder event
Change the width of a column / grid from JavaScript
Change page size on client-side
Select when clicking on "Edit"
Change mouse cursor over rows
Trim white spaces from filters
Resize column from JavaScript
Global filter options
Load a specific page
Scroll to top of the page
Disable the Grid
Grid inside ModalPopupExtender
Column sets inside UpdatePanel
Render formatted HTML in column
UpdatePanel inside Grid templates
Remove margin for header cells
Easy Menu over Grid
Detect column resizing
Warning message when exporting
Change headers when exporting
Lock column from reordering
Add tooltips to headers
Disable Edit or Delete for specific rows
Export to Excel with line breaks
Hide column resizing tool tip
Detect empty grid on client side
Row locking
Move vertical scrollbar back to the top
DataSourceNeeded for multiple grids on the same page
"No records" message and horizontal scrolling
Deselect event for CheckBoxSelectColumn
Fix initializing error - this.ColumnsWidthContainer is null
Wrap long text without spaces
Attach Flyout to the entire Grid
Get auto generated (IDENTITY) value after insert
Use CheckBoxColumn or CheckBoxSelectColumn in empty grid
Customize "no records" message
Sort column on client-side
Hide first / last paging buttons
Change style of CheckBoxSelectColumn and CheckBoxColumn
Update control in template after insert / update / delete
Customize multi-page group headers
Default cursor for headers disabled for sorting
Menu controls above the grid
Populate from MySql
Handle filtering at runtime
Refresh two grids when one is updated
Conditional image template
Change style of page size selector
Refresh master when updating detail
Hide column when printing
Hide elements when printing
Remove filter without hiding it
Add Edit/Delete column at runtime
Resize columns for styles with no column separators
Two columns with the same DataField
Clear multiselect ListBox on add
Display only records total in footer
Export hyperlink text
Disable page size selection on the client-side
Reuse OnClientCallbackError handler for multiple grids
Detect expand / collapse for detail grids
Height of empty grid
Disable filtering on the client-side
Disable sorting on the client-side
Disable paging on the client-side
HideColumnsWhenGrouping on client-side
Error when grouping
Read only cells for excel style editing
Additional parameters for RuntimeTemplate CreateTemplate event
Load last page
Enable / Disable checkboxes based on other columns
Detect page size change
Change mouse cursor for headers
Get column names on client-side
Detect duplicate records
Disable group collapsing
Workflow for insert/update using row template
Hide the "Records 1 to 10 of xxx - Pages:" text within the footer of the control
Link columns to Super Form in row edit template
Default filter for auto generated columns
Row template doesn't expand in Internet Explorer
Change loading message
Select the first record on page load
Inside a fixed width container
Open URL on row click
Unsort a column
Handle expired sessions
Scroll to top when changing the page
Enable / Disable scrolling
Deselect all records from client side
Edit row from an external control
Manipulate totals on the client-side
Delete link / button in row template
Get cell value by header text
Numbering records in master / detail grids
Redirect on add / edit
Totals are doubled
Default mode - add mode
Populate detail grid from stored procedure
Hyperlink in row edit template
Print multiple grids
Master / Detail via a third table
Cascading DropDownLists / ComboBoxes inside Grid templates
Remove hyperlinks in RowDataBound event handler
Total number of records
Center the grid on the page
Export non-english characters (chinese, hebrew, greek, arabic)
Prevent grid from loading on page load
Change default error message
Get cell value by column name
Edit and add new template don't open in full hight
Nothing happens when exporting
Display records info and paging buttons on the left side of the Grid
Print when AjaxPage is used
Print groups on separate pages
Export long numbers
Refresh DropDownList after update
Populate from MySql database
OboutGridFilterCriteria on the server-side
Clear data
SortExpression property for Column
Data from nested objects
Customize "Apply Filter | Hide Filter | Remove Filter"
DropDownList in add mode and readonly in edit mode
Adjust the width of the footer row's columns
HTML tags in edit fields
Disable type validation for a column
No header text
Export with leading space
Detect successful insert / update / delete
Adding records when footer is not visible
Move horizontal scrollbar back to the left side
Set cell data on client-side
Get row data in the OnClientDblClick handler
Global FolderStyle
HyperLink with dynamic URL
Display images from database
"refresh" with parameters
Calculated columns
Populate on button click
Populate from multiple tables
Filtering with default filter
Column from domain model not populated
Dynamic field names for client side events
Add rows programmatically
Group value in sub-totals
Disable collapse/expand for groups
Grid inside hidden div
Initial grouping by multiple columns
Redirect on double-click
Text on multiple lines
Apply multiple filters to the same column
Set FolderStyle on the client-side
Refresh data without reloading the page
Get the data from a given cell on the server-side
Specify the order in which the columns are being sorted
Show/hide "Edit" and/or "Delete" buttons
Display the line for adding new records automatically when the page is loaded
Improve performance
Use the Grid in a Medium Trust Level environment
Use the "Use Quotes" property of the GridTemplate class
Access the controls from a GridTemplate in the OnRowDataBound event handler
Access the controls from a GridTemplate in the Page_Load method
Use both GridTemplates and GridRuntimeTemplates for the same grid
Format data inside templates
Make the contents of the columns an html link
Save the exported files to the disk
Security permissions for exporting
Show the Grid with opened filter without pressing "Show Filter"
Disable row selection
Add ellipsis ('...') to the cells containing long texts
Use a checkbox for editing if you have 1/0 values in the database
Change the header text of a column at runtime
Add scrollbars
Create your own style for the Grid
Change the style of the Grid
Passwords inside Grid
Sort on a hidden column
Grid without style
Line break in OnClientCallbackError handler
Disable sorting on just one column
Refresh master grid when updating detail grid
Display values from related table using foreign keys
Passing row index to JS function
Hide cell separators
Retrieve row values by DataField
Change font in column totals
Get column heading in JavaScript
Change cells background
Send e-mail from Grid
Get cell data on the client-side using the field name
Prerequisites for exporting
Hidden fields in RowEditTemplate
Client-Side Events - Capturing the mouse over event
Client-Side Events - Use OnClientSelect and OnClientDblClick
Cells height
Filtering - Default filter option when ShowFilterCriterias is disabled
Inside ASP.NET AJAX UpdatePanel with AutoPostBackOnSelect="true"
Keep page size on post back
Edit unbound columns
Deselect the selected records from all the pages on the client side
Use today's date as a default for a column when adding new rows
Solve error: "There was an error initializing the Grid with the ID 'oboutGrid'"
Record total in Master-detail grid
Master / Detail - Configure edit templates for Detail Grid
Change row background color
Access column index in header template
Reuse edit templates for multiple columns
Hide group header on top of the grid
Removing time part from datetime values using templates
Hide selected records from client side
Left align header text and data
Customize grid data on client side
Retrieve cell value on client click
Delete all records from client-side
Left align filter text boxes / drop down lists
Key Navigation - Disable editing using the keyboard
Update page elements during a Grid callback
Using the ExposeSender property
Insert / update / delete using ObjectDataSource
Localize headers
Change row background color based on column value
Remove column names from group headers
Load obout_Interface assembly
Integrate 3rd party controls inside the Grid
Extracting data from the group headers
Set focus to a particular column on edit mode
Templates - Set "SelectedValue" for DropDownList in edit mode
Enable / Disable type validation
Incorrect syntax near '?'
Display a "Success" or "Failure" message
Remove template controls from Column-Footer
DataField property of the Column is case sensitive
Recommended DOCTYPE
Wrap the headers
Show filters on page load
Master/Detail - Linking tables using primary keys that don't have the same name
Access grid data from server side
Using relative widths (percentages) for the Grid
Using edit templates in DetailGrids
DataFormatString for different currencies
Parameters for the OnClientCallbackError event handler
Expand/Collapse details grid using template button
Capture server-side exceptions and display error messages
Reusing data when adding records one after another
Templates - Hide "Update | Cancel" links when editing using row templates
Templates - Get client ID of controls placed inside edit templates
Record Selection - Load an image from the selected record
Appearance - Customize the BackColor of the rows inside the OnRowDataBound event handler
Paging - Get the number of pages on client side
Appearance - Change/Remove the "There are no records available." text
Handle server events raised by buttons placed inside GridTemplates
Using templates in DetailGrids
Replace the navigation images with texts
Get record values when double-clicking a row
Customize the scrollbars
Hide columns with no values
Disable "Add New" while deleting a record
Fire an event when deselecting a record
Use templates with auto generated columns
Set grid width
Print grid with scrollbars
Use the Combobox inside the Grid
Set parameters for the SqlDataSource control that populates detail grids
Master/Detail - Insert record in detail grid
Use Container.DataItem in GridTemplate
Show empty detail grids when using the OnCallback pattern
Handle events raised by links/buttons from GridTemplates
Populate master/detail grids from ObjectDataSource controls
Populate master/detail grids from DataSets
Select records using the keyboard
Enter "Add" mode after populating the grid
Disable record selection when clicking on hyperlinks
Export triggers postback
Get the selected index
Use icons instead of Edit / Delete links
Customize the arrow images used for sorting
Configure cell properties
Errors with some regional settings in Windows
Multiple grids from user control on the same page
Double group headers
Set the DataSource for a DropDownList / Combobox placed inside the Grid
Remove padding for the grid's cells
Prevent specific rows from being edited/deleted
Export all the columns of the grid
Detect add mode
Calculate the value of a column based on the values of other columns
Default values for add mode, taken from group headers
Fields readonly for edit mode and editable for add mode
Sorting groups
Filter date/time values
Print all the pages of the grid
Multiple grouping conditions in the GroupBy property
Add records one after the other
Combining the "Is Null" and "Is Empty" filter options
Handle paging, sorting, filtering etc. when serialization is disabled
Use the Insert/Update/Delete methods of the DataSourceControl
Use a drop down list inside the filter
Change cell alignment
Refresh the Grid every X seconds
Keyboard shortcuts for the "Delete" or "Save All" actions
Access textbox used for edit on the client-side
Check/uncheck checkboxes from a 'view mode' template
Download files using the File Browser example
Change styles when Grid is inside an AJAX UpdatePanel
Multiple calls for the event handlers of the InsertCommand/UpdateCommand events
Rename Edit/Delete links
Configure the properties for the controls placed inside templates for view mode
Paging and populating with data
Problems referencing the JavaScript files / Missing JavaScript files
Export the data from the grid including the templates
Hide/Show columns by name
Support for Themes/Skins
Validate the data provided by the users on add/edit
Integrate Grid with Flyout - no background for the flyout
Binding controls placed inside edit templates
Additional data for the links placed inside templates
Attach an 'onclick' event handler to the group headers Home
Grid Home 
Grid Home
Site Map
Examples - 313
Appearance - 2
Live Styles
Populating with data - 16
Declaratively (Design-time) - 4
Binding to ObjectDataSource
Binding to SqlDataSource
Binding to XmlDataSource
Populating from Stored Procedures
At Run-time - 6
Binding to DataSet
Binding to DataReader
Binding to DataTable
Binding to Generic Collections
Binding to Linq
Binding to LinqDataSource
Best Performance - 3
DataSourceNeeded Event New
Paged ObjectDataSource
Partial Load
Miscellaneous - 3
Switching Data Sources New
Populate on Button Click New
Pivot Table
Add/Edit/Delete - 26
Standard - 3
Add/Edit/Delete Records
Position for New Record/Links New
Custom Editors - 5
Using Custom Forms
Sliding Row Editor
Using Super Form
Using Super Form in Window
Using Flyout
Excel-Style - 2
Excel-Style New
Excel-Style with Autosave New
Custom Triggers - 4
Edit using Context Menu
Edit on Click
Edit on Double-Click
Edit on Dbl-Click with Auto-Save
Saving to Database - 8
Automatic Updates
Using SqlDataSource
Using ObjectDataSource
Using Stored Procedures New
Detect Unsaved Changes
Add to empty table
Default Values for Add/Edit
Save Changes on the Client Side New
User Confirmation - 2
Before Insert / Update / Delete
Confirmation Using Window
Handling Errors - 2
Handling Errors
Handling Errors with Row Templates
Record Selection - 13
Standard Selection - 2
Select Records
PostBack on Select
Custom Selection - 5
Select using Check Boxes New
Select using only Check Boxes New
Select using Radio Buttons
Select using Checkmark
Select All Group Records
Multiselect without CTRL/SHIFT New
Retrieve Selected Records - 2
Find Selected Records - Client-Side
Find Selected Records - Server-Side
Programmatic Selection - 3
Select All Records
Columns - 22
Manipulating Columns - 4
Resizing Columns
Dynamic Column Resizing New
Reordering Columns New
Show / Hide Columns
Column Types - 2
CheckBoxColumn New
CheckBoxSelectColumn New
Settings - 15
Align / HeaderAlign
AllowEdit / AllowDelete
Relative Widths
Relative Width for the Columns/Grid
Auto Resize Columns New
Miscellaneous - 1
Different Styles
Paging - 7
Mode - 2
Standard Paging
Manual Paging
Customization - 4
Position New
Customize Paging
Customize Numbers of Pages
Show ALL records
Client-Side API - 1
Change Page on Client
Sorting - 4
Multi-Column Sorting
Sorting Week Days
Allow Sorting for Columns New
Filtering - 25
Standard Filtering - 1
Filtering Records
Custom Filtering - 8
Filter Templates
Filter with Date Picker New
Custom Filter Options with Templates
Between, By Year, By Month
Filter Localized Dates
Filter with On-Demand ComboBox
Live Search New
Filter All with Live Search New
Filter Settings - 3
Filter Position New
Initial State
Column Settings - 3
Enable/Disable Filtering for Columns
Show/Hide Filter Criterias
Customize Filter Options
Programmatic Filtering - 6
Initial Filter
Programmatic Filter - Client-Side
Alphabetic Filter
Keeping Filter State
External Filter Buttons
Filter On Blur
Best Performance - 2
Filter with DataSourceNeeded Event
Filter with Paged ObjectDataSource
Miscellaneous - 2
Validate Filters
Master/Detail with External Filters
Templates - 31
Templates for Add/Edit
Templates for the Filter
Format Dates
Grid With Images
Add/Edit/Delete Buttons
Add/Edit/Delete Images
Multi-Record Add/Edit/Delete
Filter Buttons
Combine Columns
Wrap the Headers
Manual Paging
Number the records
Format Currencies
Custom Formatting
With Multiselect Listbox
Edit Using CheckBoxList
With Databound Controls
DropDownList with 'New'
View / Edit Details
Customize for Mobile Devices
Get values from textboxes
Detail View
Different Input Fields for Add/Edit
Different Row Fields for Add/Edit
Templates for Edit-Delete
Reports and Row Templates
Access checkboxes inside
Access radio buttons inside
Multiple Controls
Scrolling - 16
Vertical Scroll with Fixed Headers
Horizontal Scroll
Dynamic Horizontal Scroll New
Vertical & Horizontal
Automatic Scroll
Horizontal Scroll and Filter
Using Percentages
Full Window Width / Height
Automatic Resize with Splitter
Fixed (Frozen) Columns
Fixed (Frozen) Rows New
Fixed Height
Fixed Height in Percentages
Virtual Scrolling New
Virtual Scrolling with Paging New
Keep Scroll On PostBack New
Grouping - 14
Grouping the Records
Allow Grouping for Columns
Initial Grouping
Groups Information
Multi-Page Groups Information
Show Collapsed Groups
Hide Columns When Grouping
Keep Expanded
Format the Group Headers
Customize the Group Headers
Custom Data in Group Headers New
Expand/Collapse Groups
Allow Changes New
Group using CheckBoxes New
Totals / Sub-Totals - 6
Sub-Totals in Group Footers
Sub-Totals in Group Headers New
Totals of Selected Records
Summary Row
Master / Detail - 35
Loading Mode - 4
Load At Once (OnLoad)
Load On Demand (OnCallback)
Load On PostBack
Load On PostBack with UpdatePanel
Populate with Data - 1
Populate from Stored Procedures
Add / Edit / Delete - 6
Add / edit / delete at runtime
Declarative add / edit / delete New
Using Stored Procedures New
Excel Style New
Using Super Form inside Window New
Handling Errors New
Self-Reference Display - 1
TreeView Hierarchy New
Settings - 3
Show Empty Details - OnLoad
Show Empty Details - OnCallback New
Detail Grid State
Miscellaneous - 4
Multiple Details on the Same Level
Unlimited Number of Levels
Multiple Foreign Keys
Display Info in Flyout New
Templates - 4
Templates for Action Buttons
Detail Grid inside Row Template
Inline Templates inside Detail Grid
Row Template inside Detail Grid New
Customizations - 12
Expand/Collapse All
Client-Side Manipulation
Get Selected Records
Expand/Collapse on Select
Expand/Collapse using Hyperlinks New
Different Styles New
Select on Expand / Collapse
Expand a single detail grid
Keep Expanded Details New
Separated Master/Detail Grids
Expand / Collapse on client side
Auto-Expanding (Fluid) Width New
Column Sets - 4
Column Sets New
Column Sets on Multiple Levels New
Scroll Column Sets Horizontally New
Column Sets with Grouping New
Exporting - 20
Export to Excel / Word
Export to PDF New
Export to CSV New
Export Large Data Sets New
Export on Server Side
Export Master/Detail Grids
Export Groups
Export Totals / Subtotals
Export Templates
Export Images
Export Title / Footer
Export Selected Records New
Export CheckBoxColumn New
Export Multiple Grids as a Single File New
Export Column Sets New
Customize Exported Files
Customize Individual Rows
Exported files Life Time
Accessibility - 2
Key Navigation
Customize the Keys
Localization - 2
Custom Localization
Client-Side Events - 2
Add / Edit / Delete
Expose the Sender
Server-Side Events - 3
Row Title
Printing - 5
Printing the Grid
Printing All Pages
Printing All Records without Scrollbars
Printing Selected Records New
Printing Selected Columns New
Validation - 3
Using ASP.NET Validators
Validate Super Form inside Grid
Type Validation
Integration - 21
E-Mail Client
File Browser
D-n-D to Tree
Linked with TreeView
With Easy Menu
With On-Demand ComboBox New
With Master/Detail ComboBox New
Context menu and CheckBoxes
With DatePicker
With Flyout
With File Upload Progress
With Tab Strip
HTML Editor Inline
HTML Editor in Row Template
With Color Picker
With Window
Using Tooltips
Inside Window
Task List
Purchase Order
Live Quotes
With AJAX MaskedEditExtender
With AJAX AlwaysVisible
Millions of Records
Populate Edit Fields
View Row Details
Cascading ComboBoxes New
Cascading ComboBoxes in Row Template
State Keeping - 3
Save Column Widths
Keep Current Page
Keep Current Sort Order
Other Features - 13
Hover Effects
Multiple Grids
Refresh the Records
Clear the records
Generate IDs
Client-Side Model
Find and Replace
Using ASP.NET Themes/Skins
Multi columns validation
Validate unknown columns
Inline validation
Millions of Records
Mode - 2
Callback Mode
Postback Mode
Layout Customization- 4
Heading New
Rows - 4
Reorder Rows New
Reorder Rows using Drag and Drop New
Drag and Drop Rows between Grids New
Customize Individual Rows
Knowledge Base - 1
Knowledge Base
Documentation - 25
Client-Side API
Tutorials - 18
Updating the Database
Updating using Linq
Styles - Advanced
CSS Tutorial
Client-Side API
Client-Side Events
Using the correct path
Design-Time Support
All Tutorials
Choosing Data Source
Changing Appearance
Populating with Data
Maximum Performance
Selecting Records
Access Selected Records
Runtime Templates
Templates for Buttons
Miscellaneous Tutorials - 14
Getting the Generated ID
Loading the details with AJAX Page
Selecting the inserted/updated record
Server-side validation using Ajax
Edit on Click
Hide "no-records" message
Sending parameters
Disable combobox in Edit mode
Bind data after specified the filter
Get Column Index in template
Custom readonly column
Auto-scroll during postback
Delete button
Move records between grids