Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

DocumentViewer - How to customize a report parameter editor in MVC application

$
0
0

DocumentViewer - How to customize a report parameter editor in an MVC application


This example demonstrates how you can customize the editor used to edit the XtraReport parameter in the ASP.NET MVC application. The ComboBox editor bound to the Entity Framework model data is used there to edit the report's "CategoryID" parameter, instead of using a regular TextBox parameter editor.


The DocumentViewerSettings.SetCustomParameter method is used to customize the parameter editor. Use the MVCxDocumentViewerParameter.PropertiesEdit property to get/set the parameter editor properties.

See also:
MVC DocumentViewer extension - Creating a multi-select parameter


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>