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

How to create a document sections based on the values, entered by an end-user

$
0
0

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 parameter of the SimpleLink.CreateDetail Event. As for the report (page) header (footer) sections, it is necessary to override their DataContext, which is accessible via the corresponding Link properties. For instance, use the LinkBase.PageHeaderDataContext Property to set the data context of a PageHeader.

NOTE: We have a suggestion to enable printing in marginal sections of a document: Links - Provide the capability to define a print template for the TopMargin and BottomMargin areas of a page


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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