Setting StiTable DockableTable to false causes error

Stimulsoft Reports.NET discussion
Post Reply
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Setting StiTable DockableTable to false causes error

Post by John »

Hallo Support,

I wish to avoid my table taking up the whole width. The table is generated dynamically in code. I therefore set

table.DockableTable = false

This gives me the following error on running:

Argument of of range exception

bei System.Collections.CollectionBase.System.Collections.IList.Insert(Int32 index, Object value)
bei Stimulsoft.Report.Components.StiComponentsCollection.Insert(Int32 index, StiComponent component)
bei Stimulsoft.Report.Components.Table.StiTable.StartRenderTable(StiContainer parentContainer, Int32 index, Hashtable& newTableComponents)
bei Stimulsoft.Report.Components.Table.StiTable.StartRenderTableBand(Hashtable& newTableComponents)
bei Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
bei Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
bei Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
bei Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
bei Stimulsoft.Report.StiReport.Render(Boolean showProgress)

I know this is a known problem / bug. Is there a workaround for it? Someone wrote that you should use a panel and place the table on it. I tried this, the error went away but I had so many unwanted side effects with the panel (especially with page collation set) that I can't use this.
What can I do?

Thanks in advance.

John Kitching
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Setting StiTable DockableTable to false causes error

Post by Alex K. »

Hello,

Please check the latest prerelease build.
If the issue is still present, please send us a sample project for analysis.

Thank you.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Setting StiTable DockableTable to false causes error

Post by John »

Hallo,

the latest prerelease build has fixed the issue.

Thank-you.

John Kitching
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Setting StiTable DockableTable to false causes error

Post by Alex K. »

Hello John,

Let us know if you need any additional help.

Thank you.
Post Reply