aspnet-devexpress-dot-web-4e7accc8.md
Implements the Grid View’s toolbar item functionality.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class GridViewToolbarItem :
GridToolbarItem
Public Class GridViewToolbarItem
Inherits GridToolbarItem
The following members return GridViewToolbarItem objects:
Populate a grid toolbar with a GridViewToolbarItem object and specify its Command property to add the corresponding item to the toolbar.
Run Demo: Grid - ToolbarRun Demo: Grid - Exporting to Different Formats
<dx:ASPxGridView ID="Grid" runat="server" KeyFieldName="ProductID" DataSourceID="ProductsDataSource">
<SettingsExport EnableClientSideExportAPI="true"/>
<Toolbars>
<dx:GridViewToolbar>
<Items>
<dx:GridViewToolbarItem Command="ExportToPdf" />
<dx:GridViewToolbarItem Command="ExportToDocx" />
<dx:GridViewToolbarItem Command="ExportToXlsx"/>
<!-- ... -->
Object StateManager CollectionItem MenuItem DevExpress.Web.GridCommandMenuItem GridToolbarItem GridViewToolbarItem MVCxGridViewToolbarItem
See Also