How to create and populate an unbound column
GridView does not cache values of an unbound column, because it is impossible to determine when the cache should be cleared automatically. GridView just displays values provided by the...
View ArticleASPxMenu - How to bind a control to a database
This sample shows how to bind the ASPxMenu to data stored in a database.Question CommentsAdded By: ATIG at: 5/21/2013 12:44:50 AM protected void Page_Load(object sender, EventArgs e) {...
View ArticleASPxGridView - Batch Editing - A simple implementation of an EditItemTemplate
This example demonstrates how to create a custom editor inside column's DataItem template when ASPxGridView is in Batch Edit mode. Since, ASPxGridView performs batch editing on the client side, we...
View ArticleHow to control state when the Session is being expired and prolong it on demand
This example illustrates how to create a timeout control for web sites (similar to what banks and other financial institutions have) that will display a modal popup dialog displaying the time remaining...
View ArticleHow to create a context menu for field values
This example shows how to add custom items to the context menu displayed when an end user right-clicks a filed value. Two menu items are added: 'Copy Value' and 'Filter By Value'.See Also: E20028: How...
View ArticleHow to provide custom menu items to allow SummaryType and SummaryDisplayType...
This example demonstrates how to use the PivotGridControl.PopupMenuShowing Event items to add custom items to the default context menu. This event is handled automatically if you enable the...
View ArticleHow to restore Auto Filter Row values from an active filter of the GridView...
If you are familiar with our ASPxGridView component, then you might have noticed that, by default, it fills the auto filter row from the filter after restoring the grid's state. Our GridControl...
View ArticleDiagramControl - How to create custom shapes with connection points
The Diagram control supports a special language for defining shapes. The main element that contains shape description is ShapeTemplate. This element describes a shape contour and may contain several...
View ArticleHow to display a non-persistent object's Detail View from the Navigation
This example is applicable to XAF versions prior to 16.1. In 16.1, we significantly simplified the use of non-persistent objects. For details, refer to the How to: Display a Non-Persistent Object's...
View ArticleHow to suppress the save confirmation dialog when closing a DetailView for a...
Scenario This example demonstrates how to implement the following behavior (which is default in Microsoft Outlook) in XAF Windows Forms applications:- A user can create a new record, and when its...
View ArticleHow to represent an enumeration property via a drop-down box with check boxes
Scenario:There is an enumeration type decorated with the FlagsAttribute, which means that an enumeration can be treated as a set of flags. There is also a property of this enumeration type inside the...
View ArticleHow to create a PropertyEditor based on the XtraRichEdit control
Take special note that this editor is intended to be used for a simple and most common scenario when only one text property in a Detail View is edited with the help of the XtraRichEdit control...
View ArticleGenerating Table Of Contents (TOC): Practical Guide
This example illustrates the simplest approaches to generate a TOC for a given source document.Lets imagine that you have obtained a document and you need to generate a TOC for this document. Here are...
View ArticleCustom GridControl - How to hide particular GroupRow Headers & Footers
This example demonstrates how to implement a GridControl descendant which allows hiding the header and footer for groups with an empty group row value.Question CommentsAdded By: Guo Clark at: 5/16/2016...
View ArticleHow to implement the Master-Details functionality (DataTable is a DataSource)
DataRow does not have a property that includes all child rows. To get child data, implement a multi binding converter that will filter the child data table based on the master row id.
View ArticleHow to scroll TableView on selecting row with moving the mouse outside view...
Obsolete. Starting with 12.1, to achieve this functionality, set the GridControl.SelectionMode property to Cell. This example illustrates how to add the DXGrid behavior which provides the capability to...
View Article(Obsolete) How to display a login view as a popup window during navigation...
Starting with 14.2, please use this example.This approach can be applied starting with 13.2.9. This example demonstrates how to check whether the user is logged in and display a login view when it is...
View ArticleHow to embed a Document Preview for WPF into the End-User Report Designer for...
This example demonstrates how to add a Document Preview for WPF to an End-User Report Designer for Windows Forms. To learn more, see Embedding a Document Preview for WPF into the End-User...
View ArticleData Source Wizard – How to Replace the Standard Query Builder
This example demonstrates how to replace the Query Builder dialog available through the query configuration page of the Data Source wizard with a custom dialog. To achieve this, create a custom wizard...
View ArticleHow to make a ListBoxControl's vertical scrollbar always visible
This example illustrates how to make a ListBoxControl's vertical scrollbar always visibleQuestion CommentsAdded By: Travis at: 5/19/2016 6:35:46 AM Thanks for the instruction, but unfortunately this...
View Article