Hi,
When I generate a reportview, it is this way.
But de next page is ok.
Could someone help me. how to put the height and width fixeds?
Thanks
Hello,
Thanks for your Help. I found the problem. The problem is this property of the DataGrid: AutoFitMode="ExtendLastField" (FieldLayoutSettings). When i put it, the ReportPreView is not generated correctly. If you put in your sample will be the same problem.
I am attaching a sample code which I used to test this. Everything looks correctly on my end. The LabelPresenters are as high as the highest label presenter. Please let me know if you can reproduce the issue with this sample.
It would be best if you could attach a functioning sample that demonstrates the problem so we can look into the matter. You can attach files (e.g. a zip file with the sample project and its files) in the Options tab when replying to/posting a message.
My code:
XAML:
<igReports:XamReportPreview xmlns:igReports="http://infragistics.com/Reporting" Name="ReportPreviewQuotationsWindow" Height="Auto" Width="Auto" />
Code Behind:
Private Sub ButtonReportQuotationsWindow_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles ButtonReportQuotationsWindow.Click
Dim ReportView As New Report ReportView = CreatReport(ReportView) Dim ReportEM As New EmbeddedVisualReportSection(DataGridQuotationWindow) ReportView.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Mosaic ReportView.ReportSettings.PageOrientation = PageOrientation.Landscape ReportView.Sections.Add(ReportEM) ReportPreviewQuotationsWindow.GeneratePreview(ReportView, False, False)
End Sub
This is all my code! Do you need DataGridQuotationWindow's code?
Thank you!
can you please give us more information on any styles that you are using or a sample or any other settings that you have set?