How to provide custom menu items to allow SummaryType and SummaryDisplayType...
It is necessary to use the PivotGridControl.HeaderMenuCustomizations to add custom items to a default context menu.
View ArticleHow to print a report without displaying it in a web application
This example illustrates the approach of printing report document directly, via Adobe PDF web browser plug-in. This can be done by sending the exported XtraReport document via the...
View ArticleHow to track changes made to persistent objects, and write them into a...
The OnSaving and OnDeleting method of the persistent objects can be overridden to log create/update/delete actions into a separate table. This example demonstrates the basic implementation of this...
View ArticleGridView - How to bind a master-detail grid to search results
This example demonstrates how to pass search parameters to the master grid Partial View and pass the master row key to the detail grid Partial View to bind grids to correct data.In the "Index" View,...
View ArticleHow to use GaugeControl as an in-place editor
This sample illustrates how you can embed your GaugeControl into the GridControl.
View ArticleHow to create a Pie chart
The following example demonstrates how to create a Pie chart at runtime.Note that this series view type is associated with the Simple Diagram type, and you should cast your diagram object to this type,...
View ArticleHow to implement a week number panel in the Month view
This example shows how to implement a custom panel that will show week numbers for the Month view.You can include the WeekNumberControl into your application, put it next to the SchedulerControl, set...
View ArticleHow to create a multilevel numbered list in code
This example illustrates how to create a numbered list in code.Add a new AbstractNumberingList instance to the Document.AbstractNumberingLists collection.Specify a NumberingListBase.NumberingType...
View ArticleHow to implement CRUD operations with a DataSource
This example demonstrates how to implement CRUD operations with a DataSource that obtains data from a remote Rest service. The DataSource object does not implement CRUD operations out-of-the-box. We...
View ArticleHow to implement the Rest service based on an MVC WebAPI application
This example demonstrates how to implement the Rest service based on an MVC WebAPI application.See also:How to configure ODataService for a DevExtreme HTML5/JS applicationCreating a REST service using...
View ArticleHow to show custom forms and controls in XAF (Example)
This example implements the following scenarios when an end-user clicks on a custom item in the navigation control:- a custom non-XAF form is opened as a result;- a standard XAF View containing a...
View ArticleHow to change foreground and background colors of a highlighted text...
This example illustrates how to customize foreground and background colors of a search string highlighted within located records in a grid.
View ArticleHow to switch ASPxGridView between certain data sources...
This example demonstrates how to use the same grid to view different data sources. The grid's column is autogenerated.Please note that the ViewStateMode property should be disabled to allow the grid to...
View ArticleDXTreeList - How to implement group footers
At the moment, our TreeListView does not provide the capability to show summary footers for its groups. This example demonstrates how to implement this functionality manually by using a custom...
View ArticleHow to include a deleted row KeyField value into the delete confirmation dialog
This demo demonstrates how to include the Delete link into a column's DataItemTemplate Container, and fetch information about the clicked row to the delete confirmation dialogSee Also:How to implement...
View ArticleODataContext - How to filter data by a foreign key value
Sometimes it is required to filter some entities by a foreign key value. This example demonstrates how to select all products that are associated with a required category. The Product entity has the...
View ArticledxList - How to scroll to a specific item
dxList does not provide any API that allows scrolling to an item. We can create a dxList inheritor and add the required functionality. This example demonstrates how to add the dataBound event and a...
View ArticleSpreadsheetControl API Part 02
This example demonstrates how to use the SpreadsheetControl API to programmatically manage spreadsheet documents.This sample introduces API properties and methods used to perform the following...
View ArticleHow to enhance performance when handling a large number of appointments
Problem:The Scheduler behaves perfectly well when there is a reasonable amount of appointments to display. However, what if I am required to handle large appointment datasets? If I use the...
View ArticleASPxUploadControl - How to convert a binary image to a base64 string
The data URI scheme is an URI scheme (the Uniform Resource Identifier scheme) that provides a way to include data in-line in web pages as if they were external resources. Data URIs are a form of...
View Article