Page 1 of 1

does Dictionary Restrictions works in silverlight?

Posted: Mon Jan 09, 2012 12:16 pm
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);

does Dictionary Restrictions works in silverlight?

Posted: Tue Jan 10, 2012 2:58 am
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.

does Dictionary Restrictions works in silverlight?

Posted: Tue Jan 10, 2012 9:33 am
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.

does Dictionary Restrictions works in silverlight?

Posted: Tue Jan 10, 2012 12:06 pm
by gustavo
I'm using 2011.3 version...
this new event will be on next version?

Thanks!

does Dictionary Restrictions works in silverlight?

Posted: Wed Jan 11, 2012 2:20 am
by Alex K.
Hello,

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

Thank you.