GridView - How to access/modify FilterExpression on the controller and...
This example illustrates how to pass the ASPxGridView.FilterExpression property value between the Controller, View and client-side parts of an application. In particular, we can store custom filters in...
View ArticlePopupControl - How to display the control after executing controller code
This example illustrates several approaches to display the PopupControl extension after performing server-side processing. In the simplest scenario we use the PopupControlSettingsBase.ShowOnPageLoad...
View ArticleHow to make PopupControl stay open after submitting a form using Ajax.BeginForm
This example demonstrates how to use the Ajax.BeginForm helper inside PopupControl to submit data asynchronously.See also:PopupControl - How to display the control after executing controller code
View ArticleHow to integrate the Web Report Designer into an MVC web application
This example demonstrates how you can integrate the Web Report Designer into your web application. The application contains a simple report catalog, allowing you to add, delete, and edit reports whose...
View ArticleHow to implement a custom range filter using ASPxTrackBar in ASPxGridView
To create a custom range filter with the ASPxTrackBar, follow these steps:1) Put ASPxTrackBar inside the GridViewColumn.FilterTemplate. 2) Create a GridViewCommandColumn with two custom buttons to...
View ArticleGridView - How to implement select/unselect for all rows in a group row
This as an MVC version of the E1760 - ASPxGridView - How to implement select/unselect for all rows in a group row code example.
View ArticleASPxGridView - How to implement select/unselect for all rows in a group row
This example demonstrates how to implement select/unselect for all rows in a group row.It's possible to implement this behavior only by using ASPXGridView 9.1. For more information, please refer to Add...
View ArticleASPxGridView - How to sort records by selection
Since GridViewCommandColumn holds the command/interactive visual elements (but not any column's data), clicking its header does not perform any data shaping operation (such as sorting). If you need to...
View ArticleTreeList - How to move nodes using a context menu
This example illustrates how to move nodes using a context menu. It will be useful if your TreeList hierarchy is large and it's necessary to scroll a control/page to find the target node.Question...
View ArticleHow to add custom ranges to the ArcScale in code
The ArcScale element has the Ranges property, providing access to the collection of custom ranges. You can populate this collection with instances of the ArcScaleRangeWeb class. This class has the...
View ArticleHow to: Customize the ReportDataV2 Class
This example demonstrates how you can create additional properties in the Report Data class. For instance, adding the Category property will result in an additional column in the Reports List View, and...
View ArticleGridView - A simple Batch Editing implementation
This example illustrates a simple implementation of a new ASPxGridView Batch Editing Mode functionality available starting with version 13.2:ASP.NET WebForms & MVC: GridView Batch Edit (What's new...
View ArticleGridView - Batch Editing - A simple implementation of an EditItem template
This example demonstrates how to create a custom editor inside column's DataItem template when GridView is in Batch Edit mode.You can implement the EditItem template for a column by performing the...
View ArticleHow to: Allow a user to select the authentication type at runtime
To accomplish this task, you should create a new authentication type, inherited from the AuthenticationBase, and combine the code of the AuthenticationStandard and AuthenticationActiveDirectory classes...
View ArticleHow to implement a custom LookUpEdit supporting Server Mode
Starting with 15.2, ComboBoxEdit, LookUpEdit, and ListBoxEdit support server-side data processing out of the box. This example demonstrates how to create a custom editor that allows for the use of...
View ArticleHow to implement unbound rows in PropertyGridControl
By default, unbound rows are not supported by PropertyGridControl. So, you can use VGridControl to display them. However, PropertyGridControl allows you to provide custom property descriptors via the...
View ArticleHow to disable 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 ArticleTreeList - How to move nodes using a context menu
This example illustrates how to move nodes using a context menu. It will be useful if your TreeList hierarchy is large and it's necessary to scroll a control/page to find the target node.Question...
View ArticleHow to create persistent classes mapped to tables with a composite primary...
When you have a table with a composite key, a usual solution is to declare a structure for the key member as described in the How to create a persistent object for a database table with a compound key...
View ArticleHow to track changes made to persistent objects, and write them into a...
The OnSaving and OnDeleting method of the persistent objects can be overridden to log create/update/delete actions into a separate table. This example demonstrates the basic implementation of this...
View Article