Image Enabled = false

Stimulsoft Reports.NET discussion
Post Reply
admin@secsol.co.uk
Posts: 76
Joined: Wed Jun 01, 2022 8:26 am

Image Enabled = false

Post by admin@secsol.co.uk »

If I have an image on a report and set the Enabled = false the report throws an error "Object not set to an instance of an object"
Lech Kulikowski
Posts: 7691
Joined: Tue Mar 20, 2018 5:34 am

Re: Image Enabled = false

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
admin@secsol.co.uk
Posts: 76
Joined: Wed Jun 01, 2022 8:26 am

Re: Image Enabled = false

Post by admin@secsol.co.uk »

I have attached the report here.

I would normally set the Enabled flag for the image using a data field but I kept getting the error - so I tested it with the Enabled = false and still get the error.
Attachments
InvoiceStatistics.mrt
(3.79 MiB) Downloaded 4 times
admin@secsol.co.uk
Posts: 76
Joined: Wed Jun 01, 2022 8:26 am

Re: Image Enabled = false

Post by admin@secsol.co.uk »

I have removed the unneeded field from the report in this copy.

You can attach any data source to the data band as it is not used.
Attachments
InvoiceHeader.mrt
(3.78 MiB) Downloaded 5 times
admin@secsol.co.uk
Posts: 76
Joined: Wed Jun 01, 2022 8:26 am

Re: Image Enabled = false

Post by admin@secsol.co.uk »

Forget this - I was using version 2026.1.1 and have just upgraded to version 2026.1.3 and it works fine now.
Max Shamanov
Posts: 1099
Joined: Tue Sep 07, 2021 10:11 am

Re: Image Enabled = false

Post by Max Shamanov »

Hello,

You are Welcome!
Post Reply