Bookmarks on data bands

Stimulsoft Reports.NET discussion
Post Reply
jmhb
Posts: 10
Joined: Fri Sep 04, 2009 7:35 am
Location: Germany

Bookmarks on data bands

Post by jmhb »

Hello,

I'm trying to use bookmarks the same way as shown in your example report "BookmarksHyperlinks.mrt".
When I put a bookmark on a data band and render the report, an exception occurs:
Tab General:
The object reference was not specified on an object instance.
Application Stimulsoft Reports.Net
Version 2009.3.501 from 14 September 2009
Framework v2.0.50727
Tab Exception:
Stack Trace
at Stimulsoft.Report.Components.StiComponent.DoGetBookmark()
at Stimulsoft.Report.Components.StiDataBand.DoBookmark()
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderBand(StiDataBand masterDataBand, StiBand band, Boolean ignorePageBreaks, Boolean allowRenderingEvents)
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderMaster(StiDataBand masterDataBand)
at Stimulsoft.Report.Components.StiDataBand.RenderMaster()
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderDetailDataBands(StiDataBand masterDataBand)
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderMaster(StiDataBand masterDataBand)
at Stimulsoft.Report.Components.StiDataBand.RenderMaster()
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderDetailDataBands(StiDataBand masterDataBand)
at Stimulsoft.Report.Engine.StiDataBandV2Builder.RenderMaster(StiDataBand masterDataBand)
at Stimulsoft.Report.Components.StiDataBand.RenderMaster()
at Stimulsoft.Report.Engine.StiPageHelper.RenderPage(StiPage page)
at Stimulsoft.Report.Engine.StiRenderProviderV2.RenderReport(StiReport report, StiReport masterReport, StiRenderState state)
at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state)
at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState)
at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState)
at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode)
at Stimulsoft.Report.StiReport.Render(Boolean showProgress)
at Stimulsoft.Report.Design.Controls.StiDesignerPreviewControl.btRefresh_Click(Object sender, EventArgs e)
Tab Assemblies:
mscorlib 2.0.0.0
Stimulsoft.Base 2009.3.501.0
Stimulsoft.Report 2009.3.501.0
Stimulsoft.Report.Design 2009.3.501.0
System.Windows.Forms 2.0.0.0

What goes wrong here?

Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Bookmarks on data bands

Post by Jan »

Hello,

Something wrong with calculation of bookmark expression as i see from exception. Sample project (or report with sample data) possible?

Thank you.
jmhb
Posts: 10
Joined: Fri Sep 04, 2009 7:35 am
Location: Germany

Bookmarks on data bands

Post by jmhb »

Jan wrote:Hello,

Something wrong with calculation of bookmark expression as i see from exception. Sample project (or report with sample data) possible?

Thank you.
Hello Jan,

Thank you for your suggestion. Under certain circumstances the bookmark expression became an empty expression and the exception occured.

Best regards
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Bookmarks on data bands

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply