DiagramControl - 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 ArticleWinForms End-User Designer - How to customize the Smart Tag menu of a control
This example demonstrates how to customize the XRLabel's Smart Tag menu to make the following properties available: Text, Data Binding (the Text property), WidthF, HeightF, LocationF.X, LocationF.Y.To...
View ArticleHow 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 ArticleHow to calculate Total cell values based on the low level Cell summary values
This example demonstrates how to use the CustomSummary Event to resolve the problem described in the Total values calculation seems to be incorrect, how to calculate Min, Max, Average values based on...
View ArticleHow to obtain a dashboard item's client data in the WinForms Viewer
The following example demonstrates how to get client data corresponding to a particular visual element using DashboardViewer's API.In this example, the DashboardViewer.DashboardItemClick event is...
View ArticleHow to obtain a dashboard item's underlying data in the Web Viewer
The following example demonstrates how to get underlying data corresponding to a particular visual element using the ASPxClientDashboardViewer's API.In this example, the...
View ArticleHow to use a GetSelectedFieldValues method to obtain values of several...
This example demonstrates how to use the ASPxGridView.GetSelectedFieldValues method to obtain values of several (all) grid columns.See Also:How to get the values of the selected record from the server
View ArticleASPxGridView - Batch Editing - How to use external buttons to update data and...
This example demonstrates how to create external Update and Cancel buttons, and enable them only when an end-user edits a cell or a row. See Also:ASPxGridView - Batch Editing - How to show save and...
View ArticleHow to bind a report to a datasource, whose data is loaded from an XML file
This code sample illustrates how to bind a report to XML data stored in a file (Cars.xml in this case).
View ArticleHow to create a Web Dashboard Designer application
This example shows how to create a Web Dashboard Designer application and provide data for dashboards. The project contains a simple dashboard and three available data sources: the Excel, SQL (a local...
View ArticleHow to obtain the SQL string that has been automatically constructed for a...
This example illustrates how to obtain the query string that is used to fetch data from the connected data source. Prior to obtaining the query string, open the corresponding data connection by calling...
View ArticleHow to create a DiagramShape descendant and serialize its properties
This example demonstrates how to serialize custom data using DiagramControl's serialization mechanism. In the example, the Content property of diagram shapes is loaded from data objects every time the...
View ArticleSqlDataSource - How to use ExpressionEvaluator to programmatically filter...
This example demonstrates how to use the DevExpress.Data.Filtering.Helpers.ExpressionEvaluator.Fit method to programmatically filter the SqlDataSource query. The Fit operation result is used in the...
View ArticleHow to display a login view as a popup window during navigation between views
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 ArticledxFileUploader - How to upload files to the server in an ASP.NET Web Forms...
This example demonstrates how to upload files to the server by using the dxFileUploader widget in an ASP.NET WebForms application. Two approaches are illustrated:1) Uploading files by using a custom...
View ArticledxFileUploader - How to upload files to the server in an ASP.NET MVC application
This example demonstrates how to upload files to the server by using the dxFileUploader widget in an ASP.NET MVC application. Two approaches are illustrated:1) Uploading files by using an AJAX...
View ArticleHow to enable Drag and Drop feature in the TableView
This example shows how to enable Drag and Drop functionality in the TableView.Please note that if you wish to enable this functionality, it is necessary to add a reference to the...
View ArticleHow to redirect hyperlinks within an exported PDF document
This example demonstrates how to implement the DevExpress.XtraRichEdit.Services.IPdfLinkUpdater interface to redirect hyperlinks within an exported PDF document. In particular, this example merges two...
View ArticleHow to connect to a remote data service instead of using a direct database...
ScenarioIn this example, we will create a WCF IDataStore service that will be used by our client (Console Application) as a data layer. Instead of the direct connection to the database, our client will...
View Article