how to control some items in stiDesignerControl?

Stimulsoft Reports.NET discussion
Post Reply
mahboobeh
Posts: 15
Joined: Sun Feb 13, 2011 2:50 am

how to control some items in stiDesignerControl?

Post by mahboobeh »

hi
i wnana use stiDesignerControl.and i want to contol it;
actully in this case i want to show dictionary tab and let user's to drag some items from dataset but don't let them to add a new datasource or a new category or columns.he just can see fileds(columns) and drag it to report.
why people say the hourse is a noble animal
and the pigeon is nice
and why there are not a vulture in any body`s cage.
You have to wash your eyes.
you shoud see the world in a diffrent way.
"sohrab sepehri"
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

how to control some items in stiDesignerControl?

Post by Alex K. »

Hello,

You can use the following restrictions:

Code: Select all

StiReport.Dictionary.Restrictions.Add(string name, StyDataType dataType, StiRestrictionTypes type)
for example

Code: Select all

StiReport.Dictionary.Restrictions.Add("Category", StiDataType.DataSource, StiRestrictionTypes.DenyEdit);
Thank you.
Post Reply