Quick Links
ASP.NET Grid - Automatic Resize Height
ORDER ID
NAME
CITY
COUNTRY
11077
Rattlesnake Canyon Grocery
Albuquerquesdsd
Portugal
Edit
|
Delete
11076
Bon app'
Marseille
Francertrdfdsf
Edit
|
Delete
11075
Richter Supermarkt
Genève
ZCzs
Edit
|
Delete
11074
Simons bistro
Kobenhavn
Denmark1
Edit
|
Delete
11073
Pericles Comidas clásicas
México D.F.
Mexico
Edit
|
Delete
11072
Ernst Handel
Graz
Austriaz
Edit
|
Delete
11071
LILA-Supermercado
Barquisimeto
Venezuela
Edit
|
Delete
11070
Lehmanns Marktstand
Frankfurt a.M.
Mexico
Edit
|
Delete
11069
65465
VENEZUELA
JOJOO
Edit
|
Delete
11068
Queen Cozinha
Sao Paulo
Brazil, Mexico
Edit
|
Delete
11067
Drachenblut Delikatessen
Aachen
Germany
Edit
|
Delete
11066
White Clover Markets
Seattle
USA
Edit
|
Delete
11065
LILA-Supermercado
Barquisimeto
Venezuela
Edit
|
Delete
11064
Save-a-lot Markets
Boise
ppA
Edit
|
Delete
11063
Hungry Owl All-Night Grocers
Cork
Ireland
Edit
|
Delete
11062
Reggiani Caseifici
Reggio Emilia
Italy
Edit
|
Delete
11061
Great Lakes Food Market
Eugene
USA
Edit
|
Delete
11060
Franchi S.p.A.
Torino
Italy
Edit
|
Delete
11059
Ricardo Adocicados
Rio de Janeiro
Brazil
Edit
|
Delete
11058
Blauer See Delikatessen
Mannheim
Germany
Edit
|
Delete
11057
North/South
London
UK
Edit
|
Delete
11056
Eastern Connection
London
UK
Edit
|
Delete
11055
HILARION-Abastos
San Cristóbal
Venezuela
Edit
|
Delete
11054
Cactus Comidas para llevar
Buenos Aires
Argentina
Edit
|
Delete
11053
Piccolo und mehr
Salzburg
Austria
Edit
|
Delete
11052
Hanari Carnes
Rio de Janeiro
Brazil
Edit
|
Delete
11051
La maison d'Asie
Toulouse
France
Edit
|
Delete
11050
Folk och fä HB
Bräcke
Sweden
Edit
|
Delete
11049
Gourmet Lanchonetes
Campinas
Brazil
Edit
|
Delete
11048
Bottom-Dollar Markets
Tsawassen
Canada
Edit
|
Delete
11047
Eastern Connection
London
UK
Edit
|
Delete
11046
Die Wandernde Kuh
Stuttgart
Germany
Edit
|
Delete
11045
Bottom-Dollar Markets
Tsawassen
Canada
Edit
|
Delete
11044
Wolski Zajazd
Warszawa
Poland
Edit
|
Delete
11043
Spécialités du monde
Paris
France
Edit
|
Delete
11042
Comércio Mineiro
Sao Paulo
Brazil
Edit
|
Delete
11041
Chop-suey Chinese
Bern
Switzerland
Edit
|
Delete
11040
Great Lakes Food Market
Eugene
USA
Edit
|
Delete
11039
LINO-Delicateses
I. de Margarita
Venezuela
Edit
|
Delete
11038
Suprêmes délices
Charleroi
Belgium
Edit
|
Delete
11037
Godos Cocina Típica
Sevilla
Spain
Edit
|
Delete
11036
Drachenblut Delikatessen
Aachen
Germany
Edit
|
Delete
11035
Suprêmes délices
Charleroi
Belgium
Edit
|
Delete
11034
Old World Delicatessen
Anchorage
USA
Edit
|
Delete
11033
Richter Supermarkt
Genève
Switzerland
Edit
|
Delete
11032
White Clover Markets
Seattle
USA
Edit
|
Delete
11031
Save-a-lot Markets
Boise
USA
Edit
|
Delete
11030
Save-a-lot Markets
Boise
USA
Edit
|
Delete
11029
Chop-suey Chinese
Bern
Switzerland
Edit
|
Delete
11028
Königlich Essen
Brandenburg
Germany
Edit
|
Delete
Loading...
1
|
2
Records: 1 - 50 of 100 - Pages:
ob_grid1EditControl1
value
true
ob_grid1EditControl2
value
true
ob_grid1EditControl3
value
true
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1MainContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1HeaderContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1BodyContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1FooterContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1PageSelector
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1TotalRecords
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1SerializedCols
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1SortExpression
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1SortOrder
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1ViewstateContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1SelectedRecordsContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1SelectedRecordsIndexes
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1FBConfC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1VSC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1ColumnsWidthContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1CellDivsWidthContainer
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1EditTemplateContainer
ob_grid1FOTC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1CFEC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1EMRC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1BodyContainer_ctl56
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1HCnC
ctl00_pageContent_ctl00_sp1_ctl00_ctl01_grid1_ob_grid1FCnC
The Grid is placed inside the top panel of a horizontal splitter.
The ScrollHeight property of the Grid is set to
100%
, to fill in the top panel of the splitter.
When the splitter is resized, the grid is also resized automatically.
ASP.NET Grid - Automatic Resize Width
ORDER ID
NAME
CITY
POSTAL CODE
COUNTRY
11077
Rattlesnake Canyon Grocery
Albuquerquesdsd
87110
Portugal
Edit
|
Delete
11076
Bon app'
Marseille
13008
Francertrdfdsf
Edit
|
Delete
11075
Richter Supermarkt
Genève
1204
ZCzs
Edit
|
Delete
11074
Simons bistro
Kobenhavn
1734
Denmark1
Edit
|
Delete
11073
Pericles Comidas clásicas
México D.F.
00000
Mexico
Edit
|
Delete
11072
Ernst Handel
Graz
00000
Austriaz
Edit
|
Delete
11071
LILA-Supermercado
Barquisimeto
3508
Venezuela
Edit
|
Delete
11070
Lehmanns Marktstand
Frankfurt a.M.
60528
Mexico
Edit
|
Delete
11069
65465
VENEZUELA
VENEXUE
JOJOO
Edit
|
Delete
11068
Queen Cozinha
Sao Paulo
05487-020
Brazil, Mexico
Edit
|
Delete
Loading...
1
|
2
|
3
|
4
|
5
Records: 1 - 10 of 100 - Pages:
ob_grid2EditControl1
value
true
ob_grid2EditControl2
value
true
ob_grid2EditControl3
value
true
ob_grid2EditControl4
value
true
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2MainContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2HeaderContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2BodyContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2FooterContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2HS
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2PageSelector
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2TotalRecords
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2SerializedCols
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2SortExpression
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2SortOrder
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2ViewstateContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2SelectedRecordsContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2SelectedRecordsIndexes
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2FBConfC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2VSC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2ColumnsWidthContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2CellDivsWidthContainer
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2EditTemplateContainer
ob_grid2FOTC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2CFEC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2EMRC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2BodyContainer_ctl17
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2HCnC
ctl00_pageContent_ctl01_sp2_ctl00_ctl01_grid2_ob_grid2FCnC
The Grid is placed inside the left panel of a horizontal splitter.
The ScrollWidth property of the Grid is set to
100%
, to fill in the left panel of the splitter.
When the splitter is resized, the grid is also resized automatically.
"
We are really liking your grid.It is really a great control.
"
Nauman Cheema
DHS
Random testimonial
All testimonials
obout.com
obout.com Home
News
Grid Home
Grid Home
Download
Site Map
Examples
- 313
Appearance
- 2
Style Gallery
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
Paged ObjectDataSource
Partial Load
Miscellaneous
- 3
Switching Data Sources
Populate on Button Click
Pivot Table
Add/Edit/Delete
- 26
Standard
- 3
Add/Edit/Delete Records
Multi-Record
Position for New Record/Links
Custom Editors
- 5
Using Custom Forms
Sliding Row Editor
Using Super Form
Using Super Form in Window
Using Flyout
Excel-Style
- 2
Excel-Style
Excel-Style with Autosave
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
Detect Unsaved Changes
Add to empty table
Default Values for Add/Edit
Save Changes on the Client Side
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
Select using only Check Boxes
Select using Radio Buttons
Select using Checkmark
Select All Group Records
Multiselect without CTRL/SHIFT
Retrieve Selected Records
- 2
Find Selected Records - Client-Side
Find Selected Records - Server-Side
Programmatic Selection
- 3
Client-Side
Server-Side
Select All Records
Columns
- 22
Manipulating Columns
- 4
Resizing Columns
Dynamic Column Resizing
Reordering Columns
Show / Hide Columns
Column Types
- 2
CheckBoxColumn
CheckBoxSelectColumn
Settings
- 15
AutoGenerateColumns
Align / HeaderAlign
AllowEdit / AllowDelete
ApplyFormatInEditMode
DataFormatString
Index
NullDisplayText
ParseHTML
ReadOnly
Wrap
Visible
Width
Relative Widths
Relative Width for the Columns/Grid
Auto Resize Columns
Miscellaneous
- 1
Different Styles
Paging
- 7
Mode
- 2
Standard Paging
Manual Paging
Customization
- 4
Position
Customize Paging
Customize Numbers of Pages
Show ALL records
Client-Side API
- 1
Change Page on Client
Sorting
- 4
Sorting
Multi-Column Sorting
Sorting Week Days
Allow Sorting for Columns
Filtering
- 25
Standard Filtering
- 1
Filtering Records
Custom Filtering
- 8
Filter Templates
Filter with Date Picker
Custom Filter Options with Templates
Between, By Year, By Month
Filter Localized Dates
Filter with On-Demand ComboBox
Live Search
Filter All with Live Search
Filter Settings
- 3
Filter Position
Initial State
ALL vs. ANY
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
Hyperlinks in the Grid
Wrap the Headers
Manual Paging
Number the records
GroupHeaderTemplateId
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
Vertical & Horizontal
Automatic Scroll
Horizontal Scroll and Filter
Using Percentages
Full Window Width / Height
Automatic Resize with Splitter
Fixed (Frozen) Columns
Fixed (Frozen) Rows
Fixed Height
Fixed Height in Percentages
Virtual Scrolling
Virtual Scrolling with Paging
Keep Scroll On PostBack
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
Expand/Collapse Groups
Allow Changes
Group using CheckBoxes
Totals / Sub-Totals
- 6
Totals
Sub-Totals in Group Footers
Sub-Totals in Group Headers
Aggregates
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
Using Stored Procedures
Excel Style
Using Super Form inside Window
Handling Errors
Self-Reference Display
- 1
TreeView Hierarchy
Settings
- 3
Show Empty Details - OnLoad
Show Empty Details - OnCallback
Detail Grid State
Miscellaneous
- 4
Multiple Details on the Same Level
Unlimited Number of Levels
Multiple Foreign Keys
Display Info in Flyout
Templates
- 4
Templates for Action Buttons
Detail Grid inside Row Template
Inline Templates inside Detail Grid
Row Template inside Detail Grid
Customizations
- 12
Expand/Collapse All
Client-Side Manipulation
Get Selected Records
Expand/Collapse on Select
Expand/Collapse using Hyperlinks
Different Styles
Select on Expand / Collapse
Expand a single detail grid
Keep Expanded Details
Separated Master/Detail Grids
Expand / Collapse on client side
Auto-Expanding (Fluid) Width
Column Sets
- 4
Column Sets
Column Sets on Multiple Levels
Scroll Column Sets Horizontally
Column Sets with Grouping
Exporting
- 20
Export to Excel / Word
Export to PDF
Export to CSV
Export Large Data Sets
Export on Server Side
Export Master/Detail Grids
Export Groups
Export Totals / Subtotals
Export Templates
Export Images
Export Title / Footer
Export Selected Records
Export CheckBoxColumn
Export Multiple Grids as a Single File
Export Column Sets
Customize Exported Files
Customize Individual Rows
Exported files Life Time
OnClientExportStart/Finish
ExportedFilesTargetWindow
Accessibility
- 2
Key Navigation
Customize the Keys
Localization
- 2
Localization
Custom Localization
Client-Side Events
- 2
Add / Edit / Delete
Expose the Sender
Server-Side Events
- 3
RowCreated/RowDataBound
ColumnsCreated
Row Title
Printing
- 5
Printing the Grid
Printing All Pages
Printing All Records without Scrollbars
Printing Selected Records
Printing Selected Columns
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
Customers
With Easy Menu
With On-Demand ComboBox
With Master/Detail ComboBox
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
ASP.NET AJAX
- 8
Live Quotes
With AJAX MaskedEditExtender
With AJAX AlwaysVisible
Millions of Records
Populate Edit Fields
View Row Details
Cascading ComboBoxes
Cascading ComboBoxes in Row Template
State Keeping
- 3
Save Column Widths
Keep Current Page
Keep Current Sort Order
Other Features
- 13
ShowLoadingMessage
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
Show/Hide Header/Footer
Align Elements in Footer
Wrap Footer Elements
Heading
Rows
- 4
Reorder Rows
Reorder Rows using Drag and Drop
Drag and Drop Rows between Grids
Customize Individual Rows
Knowledge Base
- 1
Knowledge Base
Documentation
- 25
Server-Side
Column
ColumnCollection
ColumnTemplateSettings
DetailGridLoadingMode
DetailGridState
FilterOption
FilterOptionsCollection
FilterOptionType
Grid
GridAddEditDeleteSettings
GridClientSideEvents
GridCssSettings
GridExportingSettings
GridFilterSettings
GridGroupInformation
GridGroupingSettings
GridLocalizationSettings
GridMasterDetailSettings
GridPagingSettings
GridRecordEventArgs
GridRuntimeTemplate
GridRuntimeTemplateEventArgs
GridScrollingSettings
GridTemplate
GridTemplateSettings
SortOrderType
TemplateContainer
TemplatesCollection
Client-Side
Client-Side API
ChangeLog
Tutorials
- 18
Add/Edit/Delete
Updating the Database
Updating using Linq
Appearance
Styles
Styles - Advanced
CSS Tutorial
Client-Side API
Client-Side Events
Columns
Columns
Configuration
Using the correct path
Design-Time Support
All Tutorials
Choosing Data Source
Changing Appearance
Populating with Data
Data-Binding
Serialize
Maximum Performance
Selecting Records
Access Selected Records
Templates
Templates
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
ASP.NET 2.0-4.0
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Show
Spell Checker
Splitter
Super Form
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET 3.5-4.0
Color Picker
File Upload
HTML Editor
Spell Checker
TreeView
ASP.NET MVC
Combobox
HTML Editor
Interface Controls
Listbox
Multilevel Combobox
Multilevel Listbox
State Selector
Download
Suite for ASP.NET
Customer log-in
Support
Knowledge base
Contact support
Install FAQ
Mailing list
Compare versions
Purchase
Purchase page
Contact Sales
License info
Terms of use
Company
Testimonials
Clients
About us
Contact us