Page 1 of 1

Setting StiTable DockableTable to false causes error

Posted: Fri Feb 18, 2011 10:31 am
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

Setting StiTable DockableTable to false causes error

Posted: Mon Feb 21, 2011 1:26 am
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.

Setting StiTable DockableTable to false causes error

Posted: Wed Feb 23, 2011 4:40 am
by John
Hallo,

the latest prerelease build has fixed the issue.

Thank-you.

John Kitching

Setting StiTable DockableTable to false causes error

Posted: Wed Feb 23, 2011 4:51 am
by Alex K.
Hello John,

Let us know if you need any additional help.

Thank you.