does Dictionary Restrictions works in silverlight?

Stimulsoft Reports.Silverlight discussion
Locked
gustavo
Posts: 16
Joined: Fri Jan 06, 2012 11:23 am

does Dictionary Restrictions works in silverlight?

Post by gustavo »

this code work in silverlight report designer?

I'm trying to use, but it always let me to edit my connection....
report.Dictionary.Restrictions.Add("Connection", StiDataType.Database, StiRestrictionTypes.DenyEdit);
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

does Dictionary Restrictions works in silverlight?

Post by Alex K. »

Hello,

Unfortunately, on current moment, this feature is not available in Client/Server.
We need some time to add this feature. We will let you know about the result.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

does Dictionary Restrictions works in silverlight?

Post by Alex K. »

Hello,

For component Stimulsoft.Report.WebDesignSL.StiWebDesignerSL we have added new event InitRestrictions, in which you can add Restrictions for report.
For example:

Code: Select all

    protected void StiWebDesignerSL1_InitRestrictions(object sender, StiInitRestrictionsEventArgs e)
    {
        e.Restrictions.Add("variable1", StiDataType.Variable, StiRestrictionTypes.DenyDelete);
        e.Restrictions.Add("variable2", StiDataType.Variable, StiRestrictionTypes.DenyEdit);
        e.Restrictions.Add("variable3", StiDataType.Variable, StiRestrictionTypes.DenyDelete);
    }
Thank you.
gustavo
Posts: 16
Joined: Fri Jan 06, 2012 11:23 am

does Dictionary Restrictions works in silverlight?

Post by gustavo »

I'm using 2011.3 version...
this new event will be on next version?

Thanks!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

does Dictionary Restrictions works in silverlight?

Post by Alex K. »

Hello,

Yes.
This event will be available on next build on this week.

Thank you.
Locked