Page 1 of 2

How Adding Interaction inside Report at Run Time ?

Posted: Sat Oct 01, 2011 8:58 am
by Eng.MAMB
hello all

Please Help me

I build Report at run Time
And I need add ( Collapse ) interaction to Gruop

I write This Code to Build Interaction And Collapse inside Group (HederGroup)

Code: Select all


 Dim Interaction As New Stimulsoft.Report.Components.StiBandInteraction
                    Interaction.CollapsingEnabled = True

                    Dim Collapse As New StiCollapsedExpression("{GroupLine  1}")

                    Interaction.Collapsed = Collapse
                    HederGroup.Interaction = Interaction

But the Bug show in (( Interaction.Collapsed = Collapse))
Bug message is (Object reference not set to an instance of an object.)

Thanks,

How Adding Interaction inside Report at Run Time ?

Posted: Mon Oct 03, 2011 5:05 am
by Alex K.
Hello,

Please check the following code:

Code: Select all

Dim GroupHeaderBand1_Interaction As StiBandInteraction = New StiBandInteraction()
GroupHeaderBand1.Interaction = GroupHeaderBand1_Interaction
GroupHeaderBand1_Interaction.CollapsingEnabled = True
GroupHeaderBand1_Interaction.DrillDownPageGuid = Nothing
Dim Collapse As New StiCollapsedExpression("{GroupLine  1}")
GroupHeaderBand1_Interaction.Collapsed = Collapse
report.Compile()
report.Show()
Thank you.

How Adding Interaction inside Report at Run Time ?

Posted: Mon Oct 03, 2011 9:38 am
by Eng.MAMB
Thank you Mr.Aleksey
:biggrin:

Now I Have Other Quation
:blush:
Q: How I Can Add Collapse in Designer in Page2 Which is connected via Interaction in Page1 ?

How Adding Interaction inside Report at Run Time ?

Posted: Tue Oct 04, 2011 6:07 am
by Alex K.
Hello,

Can you please describe your task in more details or send us sample project for analysis in which occurs problem with adding collapsing.

Thank you.

How Adding Interaction inside Report at Run Time ?

Posted: Wed Oct 05, 2011 9:40 am
by Eng.MAMB
I Attached ".MRT" Report File And XML Datafile with this File
http://www.zshare.net/download/94745671d4717dd4/
Please Put DataSourc.xml in "C:\"

---
Ok
The problem in Collapse page 2 is Hide every thing when I click on it

http://www.freeimagehosting.net/901aa

:toothgr:

http://www.freeimagehosting.net/bbf4b

How Adding Interaction inside Report at Run Time ?

Posted: Thu Oct 06, 2011 5:10 am
by Alex K.
Hello,

Please check the Drill-Down Parameter 1 in your report.

Thank you.

How Adding Interaction inside Report at Run Time ?

Posted: Thu Oct 06, 2011 7:12 am
by Eng.MAMB
Thanks for replay Mr. Aleksey

But TThis is not what I mean
:pffft:

The Problem in Collapse is hide when i Click on it in Page 2


Image

Image




How Adding Interaction inside Report at Run Time ?

Posted: Fri Oct 07, 2011 2:03 am
by Alex K.
Hello,

We couldn't reproduce this bug. Could you explain your issue in more details and, if possible, send us a step-by-step guide how to reproduce the issue?

Thank you.

Re: How Adding Interaction inside Report at Run Time ?

Posted: Thu Dec 27, 2012 9:17 pm
by nitinsobti
Can you do something similar for the cross tab component in Silverlight?

Re: How Adding Interaction inside Report at Run Time ?

Posted: Fri Dec 28, 2012 5:22 am
by HighAley
Hello.

The cross tab doesn't support Collapsing in Silverlight now. But we are working on this feature.

Thank you.