How to implement the IncrementalBackColor and IncrementalForeColor properties
When a user performs an incremental search within the XtraGrid, the colors used to highlight the matching text are obtained from the current skin. It's possible to create your own skin and provide your...
View ArticleHow to disable the label-click action for CheckedListBoxControl
By default, the CheckedListBoxControl component allows changing an item's state by clicking any part of the item. In this example, we demonstrate how to create a custom control inherited from...
View Article(Obsolete) How to synchronize XtraGrid with CurrencyMangaer in Server Mode
XtraGrid automatically synchronizes its focused row index and the CurrencyManager.Position property. However, the BindingContext does not create the CurrencyManager for Server Mode components...
View ArticleHow to hide Close Button of the Panel Container depending on the selected...
This functionality is built-in in Dock Panels starting with version 2009 vol3.The following solution applies to earlier versions:You can accomplish this task by handling the...
View ArticleHow to implement the in-place PopupContainerEdit with the dynamic popup content
To accomplish this task, create a separate UserControl for each pop-up window and provide necessary functionality to bind its editors to data and retrieve EditValue. Within the QueryPopup event of the...
View ArticleWeb Dashboard - How to create the HTML5 JavaScript Web Dashboard application
The following example demonstrates an approach that allows you to create Web Dashboard using the JavaScript client side with the ASP.NET MVC / Web API server side. See AlsoCreate an HTML5 JavaScript...
View ArticleHow to hide non-working days in the Day view using custom commands and key...
This example demonstrates how to restrict the Day View navigation to display seven days, Saturday and Sunday excluded. To accomplish this, the project implements a custom KeyToCommand behavior to...
View ArticleHow to Show different views for the same object, based on the source view
Scenario:I have two business classes representing a producer and a consumer of an transaction, and a transaction class that have references to both producer and consumer. I want to be able to open (or...
View ArticleHow to implement IHierarchicalDataSource to show an XPO object hierarchy in...
This example demonstrates the demonstrates the IHierarchicalDataSource interface implementation for a complex hierarchy of XPO persistent objects where different hierarchy levels are represented by...
View ArticleHow to customize WebLayoutManager to avoid large gaps between the editor and...
Scenario:When you have properties in your business class with captions of significantly different lengths, the detail view often looks awkward on the web. This happens because the built-in...
View ArticleOBSOLETE - How to extend the security strategy to provide object access...
Although you can create a new security strategy from scratch, here we'll extend the SecuritySimple strategy. First, create an interface to declare the user's...
View ArticleHow to show a large image in a popup when a small image in a list view column...
By default, XAF opens a detail view in response to a double-click in a list view row. This behavior can be changed by handling the ListViewProcessCurrentObjectController.CustomProcessSelectedItem...
View ArticleXRRichText - How to make a page break from RTF contents to be inserted into...
XtraReports have their own page breaking mechanism, which is based on the page content. You can resolve this problem by splitting the RTF content into several blocks based on the PageBreak character by...
View ArticleBootstrapChart - How to bind to filtered or sorted ASPxGridView data on the...
This example demonstrates how to show filtered or sorted ASPxGridView data in BootstrapChart on a callback at runtime by using server side data binding.In page markup, enable ASPxGridView’s...
View ArticleBootstrapChart - How to bind to filtered or sorted ASPxGridView data on the...
This example demonstrates how to show filtered or sorted ASPxGridView data in BootstrapChart on a callback at runtime by using client side data binding.In page markup, enable ASPxGridView’s...
View ArticleASPxTreeList - How to have one focused node among ASPxTreeLists placed in an...
This example demonstrates how to have one focused node within several ASPxTreeLists located in an ASPxGridView detail row template.Add the detailTreeLists JavaScript dictionary to store the...
View ArticleHow to use the HTML5 Document Viewer in a DevExtreme application
This example illustrates how to integrate the HTML5 Document Viewer into a DevExtreme-based Single Page Application project. This example consists of two projects.1. Frontend - a DevExtreme project...
View ArticleHow to obtain a checked value for a check box
This example shows how to get a checked value for the "Female" check box and check the check box with this value. To accomplish this task, call the GetCheckboxCheckedValue method using a...
View ArticleHow to reorder grid rows by drag and drop
This example extends the example provided in the How to allow an end-user to move the rows in a grid up and down if the grid is bound to a DataTable article and illustrates how to reorder rows by drag...
View ArticleHow to customize the TimeRuler using styles and templates
This example demonstrate how to apply custom styles to the following TimeRuler elements:- TimeRulerHeaderControl- TimeRulerCellControl- TimeRulerCellHourPresenter- TimeRulerCellMinutePresenter-...
View Article