ASP.NET Grid Documentation - Properties ASP.NET Grid Documentation - Properties

Obout.Grid namespace

Obout.Grid.Grid class

<%@ Register TagPrefix="obout" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>


Properties - Styles
propertyFolderStyle Path to the folder with style to use.


Properties - Appearance Settings
propertyShowHeader Property used for showing/hiding the header of the grid.
Default: true
propertyShowFooter Property used for showing/hiding the footer of the grid.
Default: true


Properties - Settings
propertyID String. Component Id.
propertyFolderScript String. Path to the folder that contains oboutGrid.js
Default: grid/gridscript
propertyAutoGenerateColumns Bool. By setting this property to true, all the columns from the specified datasource
will be added to the grid.To have more control over the columns of the grid you need to set
AutoGenerateColumns to false. Default: true

See also working example.
propertyCallbackMode Bool. Setting this property to true will make the Grid work in callback mode (all the actions
will be executed with AJAX callbacks). If CallbackMode is set to false, each action will trigger a postback of the page. Default: true

See also working example.
propertySerialize Bool. Enables grid serialization into VIEWSTATE (this way, the grid is binded only once
to the datasource). For grids with a large number of records, we recommend to set
Serialize to false for better performance. Default: true

See also Serialize tutorial.


Properties - Add/Edit/Delete Records
propertyAllowAddingRecords Bool. If set to true, the grid will have links for adding new records.
Default: true

See also working example.
propertyAllowMultiRecordAdding Bool. Enables/disables the multi-record adding feature.
Default: false

See also working example.
propertyAllowMultiRecordEditing Bool. Enables/disables the multi-record editing feature.
Default: false

See also working example.
propertyAllowMultiRecordDeleting Bool. Enables/disables the multi-record deleting feature.
Default: false

See also working example.
propertyNewRecord_TemplateId String. The ID of the template to be used for the "Add New" button.


See also working example.
propertyNewRecord_EditTemplateId String. The ID of the template to be used for the "Save" | "Cancel" buttons.


See also working example.
propertyMultiRecordSaveCancel_TemplateId String. The ID of the template for the "Save All" | "Cancel All" buttons.


See also working example.
propertyRowEditTemplateId String. Template that will be used to edit the entire row.


See also working example.


Properties - Selecting Records
propertyAllowRecordSelection Bool. Enable/disable the record selection feature.
Default: true

See also working example.
propertyAllowMultiRecordSelection Bool. Enable/disable the multi record selection feature.
Default: true

See also working example.
propertyKeepSelectedRecords Bool. If set to true, the selected records will keep their state between callbacks/postbacks.
Default: true

See also working example.
propertyAutoPostBackOnSelect Bool. If true, the page will be posted back to the server when a record is selected.
Default: false

See also working example.
propertySelectedRecords ArrayList. Collection which contains all the selected records.


See also working example.


Properties - Paging/Sorting
propertyAllowPaging Bool. Show/Hide the buttons for changing the page. Default: true

See also working example.
propertyPageSize Int. The number of records to be displayed on a page. Default: 10

See also working example.
propertyAllowPageSizeSelection Bool. Show/Hide the Page Size selection drop-down. Default: true

See also working example.
propertyPageSizeOptions String. The options for the "Records per page" drop-down list.
Default: 1,2,3,4,5,6,7,8,9,10,50,100,500

See also working example.
propertyCurrentPageIndex Int. The zero starting index of page that is displayed in the grid. Default: 0

See also working example.
propertyAllowManualPaging Bool. Enables/disables the manual paging feature (which allows users to navigate through the pages by entering the page number into a textbox). Default: false

See also working example.
propertyManualPagingTemplateId String. The ID of the template for the manual paging section from the footer.

See also working example.
propertyNumberOfPagesShownInFooter Int. Sets the number of pages displayed in the footer. Default: 5

See also working example.
propertyShowTotalNumberOfPages Bool. If true, the total number of pages will be shown in the footer.
Default: false

See also working example.
propertyAllowSorting Bool. If set to true, the grid will have sorting capabilities. Default: true

See also working example.


Properties - Filtering
propertyAllowFiltering Bool. Enables/disables the filtering feature.
Default: false

See also working example.
propertyFilterShowButton_TemplateId String. The ID of the Template that will be used for the "Show Filter" button.


See also working example.
propertyFilterApplyButton_TemplateId String. The ID of the Template that will be used for the "Apply Filter" button.


See also working example.
propertyFilterHideButton_TemplateId String. The ID of the Template that will be used for the "Hide Filter" button.


See also working example.
propertyFilterRemoveButton_TemplateId String. The ID of the Template that will be used for the "Remove Filter" button.


See also working example.


Properties - Scrolling
propertyScrollHeight Int. The scrollable height of the Grid.
Default: 0

See also working example.
propertyScrollWidth Int. The scrollable width of the Grid.
Default: 0

See also working example.
propertyScrollLeft Int. The horizontal scroll for the Grid.
Default: 0

See also working example.
propertyScrollTop Int. The vertical scroll for the Grid.
Default: 0

See also working example.


Properties - Grouping
propertyAllowGrouping Bool. Enables/disables the Grouping feature.
Default: false

See also working example.
propertyGroupBy String. Used to group the Grid by the specified columns.


See also working example.
propertyShowMultiPageGroupsInfo Bool. If true, the groups that spread on multiple pages will have additional information about the records in the header of the group.
Default: true

See also working example.
propertyShowCollapsedGroups Bool. If true, the groups will initially be collapsed.
Default: false

See also working example.


Properties - Exporting
propertyFolderExports String. The name of the folder where the exported Excel/Word files will be written.


See also working example.
propertyExportedFilesLifeTime Int. Sets the life time for the exported files.
Default: 0

See also working example.


Properties - Key Navigation
propertyAllowKeyNavigation Bool. Enables the Key Navigation feature.
Default: false

See also working example.


Properties - Localization
propertyFolderLocalization String. Path to folder with localization xml files. Default: grid/localization

See also working example.
propertyLanguage String. Name of the language to be used. Default: en

See also working example.


Properties - Column Resizing
propertyAllowColumnResizing Bool. Show/hide the tooltip that appears when columns are resized. Default: true

See also working example.
propertyShowTooltipOnResize Bool. Enable/disable column resizing. Default: true

See also working example.


Properties - Other Settings
propertyShowLoadingMessage Bool. Enables/disables the displaying of the "Loading..." message.
Default: true

See also working example.
propertyEnableTypeValidation Bool. Enable/disable to Type Validation feature.
Default: true

See also working example.
propertyEnableRecordHover Bool. Enables/disables hover effects when the mouse is over the records.


See also working example.
propertyGenerateRecordIds Bool. If true, each record will have a unique ID
that can be used on the client-side.


See also working example.


Collections
methodColumns A collection of Column objects - the columns of the Grid
methodRecords A collection of Hashtable objects - all the records inside the Grid
methodTemplates A collection of GridTemplate objects - the templates that will be used by the columns

"Your response is quick and clear - Keep it up - Great team. And also thanks about your product - I am very much impressed with all your products. Your help and how to is much better and satisfy most of my doubts - good work."

Muthukumar N.

obout.com
obout.com Home
News New
Grid Home 
Grid Home
Download
Site Map
Examples - 197
Appearance - 2
Live Styles
Populating with data - 11
Binding to DataSet
Binding to DataReader
Binding to DataTable
Binding to ObjectDataSource
Binding to SqlDataSource
Binding to XmlDataSource
Binding to Linq
Binding to LinqDataSource
Binding to Generic Collections
Maximum Performance
Partial Load
Add/Edit/Delete - 14
Add/Edit/Delete Records
Type Validation
Edit on Double-Click
Add/Edit Default Values
Auto-Save & Dbl-Click
Edit using Context-Menu
Multi-Record
Use Add/Edit Forms
Automatic Updates
Using Flyout
Add to empty table
Edit all Cells
Declarative (no coding)
Excel-Style Editing
Using ObjectDataSource New
Select Records - 10
Select Records
Keep Selected Records
Find Selected on Client-Side
Find Selected on Server-Side
Select/Deselect Record
Set the SelectedRecords
Using Checkboxes
AutoPostBackOnSelect
Using Radio-Buttons
With Checkmark New
Columns - 18
Resizing Columns
Align / HeaderAlign
AllowEdit / AllowDelete
DataFormatString
ApplyFormatInEditMode
Index
NullDisplayText
ParseHTML
ReadOnly
Show/Hide Columns
Visible
Width
Wrap
AutoGenerateColumns
Relative Widths
Resize the Grid Width
Different Styles New
Column sets New
Paging- 6
Paging
Customize Paging
Change Page on Client
The Numbers of Pages
Manual Paging
Show ALL records
Sorting - 2
Sorting
Multi-Column Sorting
Filtering - 9
Filtering Records
Enable/Disable Filter
Show/Hide Criterias
Autosuggest Filtering
Customize Filtering Options
Programmatic Filter - Client-Side
Initial Filter
Alphabetic Filter
Keeping Filter State New
Templates - 25
Templates for Add/Edit
Templates for the Filter
Format Dates
Format Currencies
Grid With Images
Add/Edit/Delete Buttons
Filter Buttons
Combine Columns
Wrap the Headers
Custom Formatting
Manual Paging
Number the records
GroupHeaderTemplateId
Multi-Record Add/Edit/Del.
Customized Row Templates
Templates for Edit-Delete
Reports and Row Templates
Access checkboxes inside
Access radio buttons inside
With Multiselect Listbox
With Databound Controls
DropDownList with 'New'
View / Edit Details
Customize for Mobile Devices New
Scrolling - 9
Vertical
Horizontal
Vertical & Horizontal
Automatic Scroll
Horizontal & Filter
Automatic Resize
Fixed (Frozen) Columns
Automatic Resize With Window
Fixed Height New
Grouping - 11
Grouping the Records
Allow Grouping for Columns
Initial Grouping
Groups Information
Multi-Page Groups Information
Collapsed Groups
Expand/Collapse Groups
Hide Columns
Keep Expanded
Format the Group Headers New
Customize the Group Headers New
Totals / Sub-Totals - 4
Totals
Groups Sub-Totals
Aggregates
Totals of Selected Records New
Master / Detail - 17
Load At Once (OnLoad)
Load On Demand (OnCallback)
Detail Grid State
Multiple Details on the Same Lev
Self-Reference Display
Unlimited Number of Levels
Show Empty Details
Full Set of Features
Expand/Collapse All
Multiple Foreign Keys New
Templates for Action Buttons New
Client-Side Manipulation New
Get Selected Records New
Expand/Collapse on Select New
Different Styles New
Select on Expand / Collapse New
Expand a single detail grid New
Expand on client side New
Exporting - 6
To Excel and Word
Customize Exported files
Exported files Life Time
Server-Side Exporting
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 New
Server-Side Events - 3
RowCreated/RowDataBound
ColumnsCreated
Row Title
Printing - 1
Printing the Grid
Integration - 24
E-Mail Client
File Browser
D-n-D to Tree
D-n-D to Grid
Customers
With EasyMenu
With DatePicker
With FileUpload
With Flyout
With SuperButton
AJAX Autosuggest
Linked with TreeView
Using Validation Controls
With Window
Purchase Order
Task List
Using Tooltips
With Multilevel Combobox
With AJAX TabStrip
With HTML Editor
Inside Window
Context menu and CheckBoxes
With ColorPicker
With FileUploadProgress New
ASP.NET AJAX - 3
Live Quotes
With AJAX MaskedEditExtender
With AJAX AlwaysVisible New
Other Features - 14
ShowLoadingMessage
Hover Effects
Millions of Records
Multiple Grids
Refresh the Records
Generate IDs
Client-Side Model
Get Values on Server-Side
Clear the records
Re-order the rows
Handling errors
Master/Detail
Find and Replace
Mode - 2
Callback Mode
Postback Mode
Knowledge Base - 2
How-To and Help
Knowledge Base
Documentation - 24
Server-Side
Column
ColumnCollection
ColumnTemplateSettings
DetailGridLoadingMode
DetailGridState
FilterOption
FilterOptionsCollection
FilterOptionType
Grid
GridClientSideEvents
GridCssSettings
GridGroupInformation
GridLocalizationSettings
GridMasterDetailSettings
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 - 24
Getting the Generated ID
Multi columns validation
Loading the details with AjaxPages
Selecting the inserted/updated record
Server-side validation using Ajax
Edit on Click
Hide "no-records" message
Using radios inside edit template
Keep Current Page
Keep Current Paging/Sorting
External buttons
Sending parameters
Disable combobox in Edit mode
Bind data after specified the filter
Get Column Index in template
Client-Side Events & Window
Export with loading message
Custom readonly column
Validate unknown columns
Auto-scroll during postback
Delete button
Inline validation
Move records between grids New