DocumentMapVisible false but DocumentMap still expanded

1 Answer 54 Views
Report Viewer - WPF
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
Benedikt asked on 14 Aug 2023, 12:34 PM

Hi,

I have a ReportViewer in WPF where I display a Report Book with Bookmarks.

I have set DocumentMapVisible="False" but still the ReportViewer srtarts with visible DocumentMap.

Do I have to set another value?

Because I set the Report Source programmatically I have also tried to set the DocumentMapVisible to false there again but it changes nothing.

1 Answer, 1 is accepted

Sort by
1
Accepted
Nikolay
Telerik team
answered on 17 Aug 2023, 10:31 AM

Hi,  Benedikt

I was able to reproduce the issue in our WPF viewer example and after speaking with the Development team on this, we have decided to log this as a bug on our feedback portal - The DocumentMapVisible values set during the initialization of the viewer are not respected in WPF reporting viewer.

As a reward for discovering and reporting this issue, we have updated your account's Telerik points.

Currently, a workaround you can try is to set the DocumentMapVisible, after the report is rendered, you can do this by attaching an event to this.ReportViewer1.RenderingEnd += ReportViewer1_RenderingEnd; in which you set the DocumentMapVisible to false.

private void ReportViewer1_RenderingEnd(object sender, Telerik.ReportViewer.Common.RenderingEndEventArgs args)
		{
			this.ReportViewer1.DocumentMapVisible = false;
		}

Let me know if you need further assistance.

Regards, Nikolay Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Report Viewer - WPF
Asked by
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Nikolay
Telerik team
Share this question
or