How to: Use the Entity Framework Code First in XAF
The complete description is available in the How to: Use the Entity Framework Code First in XAF topic.
View ArticleHow to avoid InvalidOperationException while a TreeList content is exported...
This example illustrates how to avoid InvalidOperationException while the TreeList content is exported to XML.Please refer to the following KB article, which describes this issue in greater detail:...
View ArticleMaster-Detail Report Example
This example demonstrates multiple detail bands in a master-detail report.
View ArticleHow to embed the XtraTreeList into a report via scripts
This example shows how to embed the XtraTreeList control into a report via scripts alone. This approach will come in handy especially for XAF users because there is no possibility for them to design...
View ArticleHow to create custom total columns in xrPivotGrid at runtime
This example illustrates how to create the xrPivotGrid control with custom total columns at runtime. You can implement calculated columns by using unbound columns. To accomplish this task you need to...
View ArticleHow to create a Master-Detail report type using two report layouts at runtime
This example demonstrates how to create Master-Detail report, based on two report layouts (REPX files). The XtraReport.FindControl method is used to obtain the XRSubreport control instance. The...
View ArticleHow to place text inside ToggleSwitch
This example demonstrates how to locate a text inside the ToggleSwitch control instead of being located at the side.
View ArticleHow to enable caching of web reports to allow switching them on the client
The code in this example implements the native caching of web reports displayed by the ASPxDocumentViewer control which allows instantly switching the documents that are cached on the client.During the...
View ArticleHow to create headers containing information regarding the current row in a...
This example illustrates how to prepare headers for Master-Detail reports showing information regarding the current row in a master report. In this scenario, you need to place all necessary header...
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 ArticleHow to update a document displayed by the ASPxDocumentViewer within the...
This example illustrates how to update a web report's content on the fly by placing the ASPxDocumentViewer within the ASPxPopupControl and calling the ASPxClientDocumentViewer.Refresh method.An...
View ArticleHow to implement Drag-Drop functionality between DetailView tabs like in...
This example demonstrates how to implement the Drag-Drop functionality between DetailView tabs like in Google Chrome when using the Master-Detail mode in GridControl.See also:How to create a GridView...
View ArticleASPxGridView - How to set a different Popup EditForm caption when editing and...
This example demonstrates how to set a different Popup EditForm caption when editing and inserting a new row.
View ArticleSyntax highlighting HTML markup using DevExpress CodeParser library and...
This example demonstrates how to highlight HTML markup content using ISyntaxHighlightService.A similar approach for highlighting C# and VB code snippets was demonstrated in the following example:...
View ArticleGridView - How to implement filtering by null values for the...
This example demonstrates how to implement filtering for a property that contains null values using the GridViewSettings.AutoFilterCellEditorInitialize and GridViewSettings.ProcessColumnAutoFilter...
View ArticleHow to implement XPO data models connected to different databases within a...
ScenarioThis example demonstrates how to create custom XAF modules with custom business objects and logic that would work with separate databases. These modules do not depend on each other and thus can...
View ArticleHow to sort a nested ListView at the business objects level, in code
This example demonstrates how to provide hidden and permanent sorting by a property in a nested ListView. Suppose we have Order and OrderItem classes that participate in an aggregated One-To-Many...
View ArticleHow to update REPX file for correct working after removing obsolete properties
This example illustrates how to update report saved to the REPX files in order to be able to work with them after removing any obsolete properties of the report's controls. Unfortunately there is no...
View ArticleHow to bind a Geo Point Map dashboard item to data in code
The following example demonstrates how to bind a Geo Point Map dashboard item to data in code.
View ArticleHow to add sort capability to the web based XtraReport
This example illustrates how to add, and force to work, sorting option buttons to the header area of the web based report. Some key points of this example:- Sorting is accomplished during the callback,...
View Article