How to enable disable a page in Stimulsoft

Diable Page in Stimulsoft MRT

Stimulsoft allows you to enable/disable a page based on a parameter. For example you want to print one type receipt for one department and another type of receipt for another department, you can do that by creating two pages and enable/disable each page based on a paramater in this case department ID.

In my case, I am passing a parameter name @page. If if pass 1, it hides page 1 and show only page 2 (no condition is given to page).

DataSource1.Parameters[“@page”].ParameterValue.ToString()==”1″

Help on the same topic from Stimulsoft

Advertisements
This entry was posted in Tutorials/Tips and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s