DashboardDesigner - How to customize the data source wizard to display a list...
To customize data source wizard use the DashboardDesigner.DataSourceWizardCustomization Property. When a data source is selected, a custom ConfigureQueryPageView is shown. This view displays a list of...
View ArticleSqlDataSource - How to use ExpressionEvaluator to programmatically filter...
This example demonstrates how to use the DevExpress.Data.Filtering.Helpers.ExpressionEvaluator.Fit method to programmatically filter the XtraReport's SqlDataSource query. The Fit operation result is...
View ArticleHow to implement cascading lookups
This example demonstrates how to implement cascaded lookups. The main idea is to get the changed value of the first lookup and select data based on this value for the second lookup. It is necessary to...
View ArticledxDataGrid - How to implement cascading lookup columns
This example demonstrates how to implement cascading lookup columns using the dxDataGrid widget. To accomplish this task, we need to perform the following steps:1. Reset a value in a cell of the second...
View ArticleHow to preserve the XtraGrid view state in multi level master/detail
This example is an extension of example How to preserve the XtraGrid View state for a grid in master-detail mode. It stores view states of all existing nested grid views.Question CommentsAdded By:...
View ArticleHow to drag and drop items from/to ASPxListBox using jQuery UI
It is not possible to drag items from ASPxListBox until the Enable drag & drop in ASPxListBox suggestion is implemented. The example illustrates how this functionality can be implemented using...
View ArticleHow to select a current line in the RichEditControl
This example illustrates the use of the StartOfLineCommand and EndOfLineCommand that allows you to determine start and end positions of the current line. It is important to distinguish line and...
View ArticleGridView - How to implement date range filtering using a custom editor in the...
v15.2This example is now obsolete. Starting with v15.2, we implemented a new GridViewDataColumnHeaderFilterSettings.Mode property. Please refer to the Date Range Header Filter demo.For older versions:...
View ArticleHow to create a data bound report dynamically in a WinForms application
This example illustrates how to generate a report dynamically.For further information please refer to the corresponding article : How to create a report dynamicallyQuestion CommentsAdded By: Daniel...
View ArticleHow to prevent an end-user from hiding a specific grid column
This example demonstrates how to prevent an end-user from hiding a specific grid column. For this, you first need to create a RemoveColumnDropTarget class descendant and override the Drop method. Then,...
View ArticleHow to use jQuery to drag and drop items from one ASPxGridView to another
The example demonstrates how to use the jQuery framework to drag an item from one grid to another.- Use jQuery UI Draggable and Droppable plug-ins;- Define "draggable" and "droppable"...
View ArticleDocumentPreviewControl - How to: Create a Drill-Down Report (Runtime Sample)
This example demonstrates how to programmatically create a drill-down report by handling a report control's XRControl.PreviewClick event. To achieve the same functionality without writing a line of...
View ArticleHow to filter data on the server side with XtraReports Parameters
The criteria you specify in the XtraReport.FilterString property is applied to data source rows by the report control on the client side by default. When working with large data sets, it makes sense to...
View ArticleHow to implement the drag-and-drop functionality for PictureEdit so it is...
This example illustrates how to drag and drop images from Windows Explorer to PictureEdit. For this it is sufficient to create DragDropProvider and call the EnableDragDrop method. Also, in this example...
View ArticleHow to create a custom theme for shapes in DiagramDesignerControl
Shapes in the Diagram control are colored according to the applied theme. To create a custom theme, add a resource dictionary with a Theme element to your application. Each theme should contain a color...
View ArticleHow to display and hide the horizontal scrollbar automatically
This example shows how to show the horizontal scrollbar if the PivotGrid gets wider than 800 pixels and hides the scrollbar if the PivotGrid gets smaller than 800 pixels.Question CommentsAdded By:...
View ArticleHow to modify the context menu of grid columns
The following example demonstrates how to customize the grid's context menu at runtime. For instance this sample demonstrates how to remove the default 'Show Column Chooser' menu item from the Column...
View ArticleASPxCardView - How to customize command buttons in individual cards
This example demonstrates how to hide a command button in individual cards by handling the ASPxCardView.CommandButtonInitialize event.
View ArticleHow to pass a hidden dashboard parameter to a custom SQL query in the...
The following example shows how to filter a custom SQL query by changing a parameter value in the DashboardViewer.CustomParameters event handler.In this example, the custIDQueryParameter query...
View ArticleASPxCardView - How to iterate through column editors on the client
The example demonstrates how to dynamically disable editors on an Edit Form when an editor's value is changed.This approach cannot be used when edit templates are defined.
View Article