Quantcast
Channel: DevExpress Support Center (Examples)
Browsing all 7205 articles
Browse latest View live

dxNumberBox - How to allow entering only integer/float numbers

This example demonstrates how to allow entering only numbers in dxNumberBox. For this task we need to handle the dxNumberBox.onKeyPress event and check whether the typed symbol is a number. If this is...

View Article


How to print and export a WinForms Dashboard visual representation as is

The following example demonstrates a workaround that allows you to print and export a Dashboard visual representation as is via the Print Preview dialog.In this example, the Customer Support dashboard...

View Article


How to avoid production of unnecessary column and merging of cells in Excel...

The XtraPivotGrid control is exported in a WYSIWYG (What You See Is What You Get) manner. According to this concept, items are exported as is, and this may cause an undesirable result. E.g. If column...

View Article

How to save a layout of LayoutControl together with its child controls

By default, if you save a layout of LayoutControl, settings of layout items are saved (Save and Restore Layout ). When you load the saved layout, layout items will be created with saved settings only...

View Article

How to change a TreeList node position along with a corresponding record's...

TreeList allows users to reorder nodes by dragging them with the mouse. If a node was moved from one parent to another, its position will be saved automatically, because it depends on the ParentID...

View Article


How to provide an event that is raised on changing a grid layout

This example demonstrates how to provide an event that is raised as soon as a grid layout is changed.In this example, we have created a GridLayoutHelper class that handles changes of the GridControl...

View Article

ASPxDropDownEdit - How to select Year and Month only

UPDATED:Starting from the 18.2 version of our controls, we support this scenario out of the box. Please review the Date and Time: Month-Year Picker demo.This example demonstrates how to create a...

View Article

How to implement BootstrapGridView context menu with items similar to...

Starting with v18.2, BootstrapGridView provides Context Menu out of the box: Context Menu Online DemoFor versions older than 18.2, use the approach below: This example demonstrates how to implement...

View Article


Image may be NSFW.
Clik here to view.

How to add a custom button into LookupPropertyEditor to edit the currently...

To open a detail view for the currently selected object LookupPropertyEditor, you can press Ctrl+Shift while clicking the editor. Another way is to implement your LookupPropertyEditor's descendant,...

View Article


How to sort a ASPxPivotGrid by clicking on a field value

The PivotGrid allows sorting by any column. To do this, right click any field value and select an appropriate field to sort by it. Sometimes it is possible to sort by any column by simply clicking on...

View Article

Image may be NSFW.
Clik here to view.

How to generate a sequential number for a persistent object within a database...

This example illustrates one of the possible approaches to implementing an identifier field with sequential values. Alternate approaches are listed in the An overview of approaches to implementing a...

View Article

[OBSOLETE] BootstrapGridView - Batch Edit mode - How to edit CheckBox column...

Starting with v17.1.4 and v17.2.3, the BootstrapGridView control supports this functionality out of the box. To get the desired behavior, enable the AlwaysShowCheckboxesInCheckColumns...

View Article

How to import HTML files containing images referenced using custom prefix

By default, RichEditControl can import HTML files containing embedded images or links to external images with the src attribute specified as an image URL. Occasionally, you may have a web file where...

View Article


Image may be NSFW.
Clik here to view.

OBSOLETE - How to show custom forms and controls in XAF (Example)

==============================This article is now obsolete. Instead, refer to the eXpressApp Framework> Concepts> UI Construction> Using a Custom Control that is not Integrated by Default...

View Article

How to display detail collections with descendants filtered by an object type

Suppose we have the same classes structure as shown in the How to: Use UpCasting help topic. Our goal is to provide two details collections into a DetailView that will allow end-users to view objects...

View Article


Image may be NSFW.
Clik here to view.

How to prevent a DetailView from being shown for a ListView record

ScenarioFor certain data forms, a developer needs to limit end-users to editing only through the ListView, i.e. without invoking a separate DetailView.  This is usually done by activating the inline...

View Article

OBSOLETE - How to raise XAF callbacks from client-side events and process...

============================================================This example is now obsolete. Refer to the How to: Raise XAF Callbacks from Client-Side Events and Process these Callbacks on Server topic...

View Article


How to access a nested ListView from the parent DetailView's controller and...

Update: Approaches from this example are now described in the How to: Access Master Detail View and Nested List View Environment topic. Refer to it for a more detailed description.This example is based...

View Article

Image may be NSFW.
Clik here to view.

How to use a custom Lookup Property Editor control for reference properties...

How to use a custom Lookup Property Editor control for reference properties in WinFormsFEATURESLookupPropertyEditorEx This is a regular XAF PropertyEditor class that can be used for referenced...

View Article

How to populate GridControl using UnboundDataSource (UnboundSource)

This example shows how to use the UnboundDataSource class (a WPF wrapper for the UnboundSource class).

View Article
Browsing all 7205 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>