GridView - How to perform a custom client side unobtrusive validation for the...
This example is based on the approach demonstrated in the E3744: How to enable unobtrusive validation for GridView using the EditForm template thread.Perform the following steps to accomplish this...
View ArticleHow to enable unobtrusive validation for GridView using the EditForm template
The example illustrates how to implement unobtrusive validation for GridView editors. Create an Edit Form template that contains a form and all necessary editors. Corresponding validation attributes...
View ArticleHow to create a text editor that shows auto-completion suggestions in the...
The current example demonstrates how to implement a text editor with the capability to show auto-complete suggestions for the word which is being typed.Question CommentsAdded By: Paola Cacciotti at:...
View ArticleValidation within a multi-page container
This demo shows how to implement editor validation within the ASPxPageControlSee also:Validation within a multipage container (on callbacks)How to organize Wizard interface within ASPxPageControlHow to...
View ArticleHow to detect that the new page is being created and obtain the current page...
Note: This example uses undocumented behavior of the XtraReports Suite, so we cannot guarantee that it will work correctly in the XtraReports Suite.This example illustrates how to detect that a new...
View ArticleASPxGridView - How to display truncated text in a resizable column (using CSS)
This example demonstrates how to display truncated text in a resizable ASPxGridView column and show a full value as a tool tip. 1) Apply the following CSS class to column...
View ArticleHow to enable snap to the middle in the ZoomTrackBarControl
This example demonstrates how to add snap to the middle in the the ZoomTrackBarControl control. First, we added two properties in the custom RepositoryItemZoomTrackBar: SnapToMiddleValue that allows...
View ArticleHow to import data to worksheet cells from different data sources and use tables
This example illustrates how to use the Worksheet.Import method to import data to worksheet cells from different data sources (arrays, lists and data tables), and how to format a range of cells as a...
View ArticleHow to merge cells horizontally in GridView via the CustomDrawCell event
This example illustrates an approach that is similar to that one described in the following thread: How to merge cells horizontally in GridView. The mentioned functionality is implemented via the...
View ArticleHow to create a single-page report to print a document on roll paper
This example demonstrates how to calculate the resulting report height and change its page size to place the report content into a single page. To accomplish this, create a document using the...
View ArticleHow to create a DetailView with a custom set of properties
Suppose that it is necessary to provide a capability to work with documents. These documents can have various sets of fields, in various orders. To implement this scenario using standard XAF tools, it...
View ArticleHow to list all reports available in an application
This example demonstrates how to use System.Reflection methods to list all report types available in your application and then allow end-users to select and perform required actions on selected reports.
View ArticleHow to make DateEdit highlight certain dates like in DateNavigator
By default, the DateNavigator control allows you to set a collection of special dates and highlight them in bold font.This example illustrates how to enable similar behavior in DateEdit.First, it is...
View ArticleHow to make the DXGrid view row template editable (the small sample of the...
The main idea is to create a DataRowTemplate that allows editing. In the sample, a row template is specified for several editors. To provide correct tabbing between editors, it's necessary to create a...
View ArticleHow to create a data caching service that helps improve performance in...
Scenario:In the How to connect to a remote data service instead of using a direct database connection example we described how to connect to the WCF service via console application. If you want to take...
View ArticleHow to implement a radio column
This example demonstrates how to add an unbound grid column with a radio button (represented by a CheckEdit repository item) to provide a user with the ability to select one of the grid rows.Question...
View ArticleHow to locate detail view tabs in several lines
This example demonstrates how to create a custom GridControl by locating tabs in multiple lines.First, we create a custom BaseTabControlViewInfo and override the IsMultiLine property to always return...
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 ArticleHow to open Excel files in GridControl
This functionality is not supported out-of-the-box. Our GridControl, as well as any standard control, does not directly work with physical files. There are many reasons for this. For example, it is not...
View ArticleHow to implement a custom map data provider
This example illustrates how to implement a custom map data provider class inherited from the MapDataProviderBase type. In the example, a custom MapTileSourceBase class is implemented to supply tile...
View Article