The APNSoft Menu will only work on JavaScript enabled browsers.
About Us
Products
Downloads
Purchase
Support
DataGrid
Version
3.1
The APNSoft Nav will only work on JavaScript enabled browsers.
What's New
Overview
Features
Reference Book
System Requirements
Deployment
Customization
Templates
Edit Form
Server-side API
Client-side API
Source Code
Example Applications
Licensing
License Agreement
License Types
License Key
Upgrade Policy
Support
Contacts
FAQs
Feature Request
The APNSoft Nav will only work on JavaScript enabled browsers.
Populating with Data
Data Binding
Dynamically populating
Large data source
Columns (general)
Width
Sorting
Header Text
Line Numbers
Data Formatting
CSS Formatting
Fixed columns
Columns (templates)
HTML Template
XSL Template
ASCX Template
CheckBoxes
DropDowns
Images
Rows
Row uniqueness
Alternating rows
Hovered row
CSS Formatting
Client-side selection
Server-side selection
Filtering
Insert/Update/Delete
Cell editing
Bottom Bar
Template
Custom Buttons
Client-side events
Enabled/Disabled
Layout and Behavior
Running Mode
Custom AJAX call
Page Size
Context Menu
Width and Height
Auto-resizing
Exporting
Export to Excel
Export to HTML
Skins
APNSoft
Windows XP
Windows Vista
Classic
Mac OS
Media Player
Grayscale
APNSoft
>
Products
>
DataGrid
>
Live Demos
>
Context Menu
CustomerID
CompanyName
ContactName
Address
The APNSoft DataGrid will only work on JavaScript enabled browsers.
APNSoft DataGrid provides you with full support for cross-browser context menu. You can use context menu for rows or column headers. Please right-click anywhere on the Grid to activate the context menu. If you use Opera, activate context menu by the command
Control key + Left mouse button
.
You use the
GridContextMenuHeader.Template
property to specify the template for column headers or
GridContextMenuRow.Template
property to specify the template for rows. The property value is a raw XML string or path to the XML template file for context menu.
To learn more about template for Context Menu, please click
here
.
You can use multiple context menus and switch between them on the client side. This example displays alternate context menu for the 'BERGS' row. To use additional context menus do the following:
Add context menu on the server side by using the method
AddContextMenu()
.
Set the property
ClientSideOnContextMenuRow
(or
ClientSideOnContextMenuHeader
for headers). This property specifies the name of the client-side function to be called before the context menu is displayed.
Create a client-side procedure as specified by the
ClientSideOnContextMenuRow
property. In this procedure you replace the default context menu with the additional one.
Note
. All changes are stored in the user's current session.
Code Samples:
Default.aspx
Default.aspx.cs
Default.aspx.vb
CntMnuHeaders.xml
CntMnuRows.xml
CntMnuRowsAdd.xml
UpdateDelete.htm
EditForm.ascx
EditForm.ascx.cs
EditForm.ascx.vb
Skin Style
Skin Images
Nwind.mdb
© 2003-2010 APNSoft. All rights reserved.
Table of Contents
Terms of use
Contact Us
Help Center
Controls Suite
DataGrid
Menu
TreeView
ComboBox
Include
DataGrid
Menu
TreeView
ComboBox
Include
Sort A to Z
Sort Z to A
Edit row '$RowID$'
Delete row '$RowID$'
Add new row
Details for '$RowID$'