How to Set Validation Rules in Code
This example demonstrates how to use attributes to set rules for business classes and their properties. The RuleCriteria and RuleRequiredField rules are demonstrated. To learn more about validation and...
View ArticleHow to print the ASPxScheduler using a Report Preview
This example illustrates how to make a printout of the ASPxSchedulerControl. The application creates the XtraSchedulerReport class descendant which uses Scheduler data, the ASPxDocumentViewer control...
View ArticleHow to implement range selection via a separate ChartControl
This example illustrates how to implement an alternative zooming method using a separate ChartControl to adjust the visible axis range. Two ConstantLine objects are used to indicate the adjustable...
View ArticleHow to get the error message by using the GetCallbackErrorMessage static method
In this example, the error message is displayed within the redirected page after the error occurs on callback. The redirection page is specified within the devExpress/errors section of the web.config...
View ArticleHow to use an image from application resources in a DXPrinting template
When using an image from resources inside a DXPrinting template, your first move might be to write something like this:<DataTemplate x:Key="reportFooter"><dxe:ImageEdit IsPrintingMode="True"...
View ArticleHow to export cell range to a DataTable
This example illustrates how you can export worksheet cell range to a System.Data.DataTable object.The following steps are required:1) Add a reference to the DevExpress.Docs.v13.2.dll assembly to your...
View ArticleHow to use Criteria Property Editors
This example illustrates the specifics of using Criteria Property Editors in an XAF application. The complete description is available in the How to: Use Criteria Property Editors help topic.See...
View ArticleHow to: Disable Property Editors Based on a Business Rule
This example demonstrates how to hide and disable property editors via the Conditional Appearance module. The complete description is available in the How to: Disable Property Editors Based on a...
View ArticleHow to use jQuery to drag and drop items from one ASPxGridView to another
The example demonstrates how to use jQuery framework to drag an item from one grid to another.- Use jQuery UI Draggable and Droppable plug-ins; - Define "draggable" items in a source grid and...
View ArticleASPxHtmlEditor - How to implement cascade ToolbarComboBoxes bound to data...
This example demonstrates how to implement cascading ToolbarComboBoxes on the ASPxHtmlEditor toolbox. To provide this functionality, the ASPxHtmlEditor was placed into the ASPxCallbackPanel. The...
View ArticleHow to create a document sections based on the values, entered by an end-user
This example illustrates how to generate a document according to the end-user input. To pass specific values to the document's detail section, you just need to assign these values to the e.Data...
View ArticleWinForms SpreadsheetControl API - Part 2
This example is the second part of the SpreadsheetControl API set of examples that demonstrates how to use the SpreadsheetControl API to programmatically manage spreadsheet documents, without the need...
View ArticleHow to use ASPxHtmlEditor to edit RTF data
It is possible to use ASPxHtmlEditor WYSIWYG capabilities to edit rich text, for example, imported from the RTF file.This example illustrates how to:- Store real RTF content in a data source;- Edit...
View ArticleHow to update the Print Preview according to the changes made in DXGrid
This sample demonstrates how you can create a report document from a DXGrid, and update its Print Preview on the same form, by clicking a button.
View ArticleHow to use the ASPxWebControl.CallbackError event to handle application-level...
Normally, you use the Application_Error event handler, implemented in a Web Application project's Global.asax file, to handle all application-level errors. Prior to v2010.2, errors occurred on callback...
View ArticleHow to bind a Choropleth Map dashboard item to data in code
The following example demonstrates how to bind a Choropleth Map dashboard item to data in code.
View ArticleHow use the Document Map to provide client-side navigation for a web report
This example illustrates the capability to provide client-side navigation for a web report.If a report has bookmarks assigned to its elements, the Document Viewer automatically displays a Document Map...
View ArticleHow to use XtraReports in an ASP.NET MVC application
This sample demonstrates a simple ASP.NET MVC application that contains a static report and shows its print preview on the Web page.Example CommentsAdded By: Gabriele Dolfini at: 10/14/2013 4:44:19 AM...
View ArticleHow to: Disable Property Editors Based on a Business Rule
This example demonstrates how to hide and disable property editors via the Conditional Appearance module. The complete description is available in the How to: Disable Property Editors Based on a...
View ArticleHow to implement custom paging for a web report
This example demonstrates how the ASPxPager control can be used to perform pagination for the ReportViewer control, displaying a multi-page report. At present, ASPxPager does not expose a client-side...
View Article