We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

Report designer opens only in debug mode

I'm facing these two odd cases:
  1. Report designer opens only in debug mode.
  2. Sometimes, when my application runs, it throws this error
Set property 'System.Windows.ResourceDictionary.Source' threw an exception.
the only way to solve it is to disconnect and re-connect to the database server.

this is the XAML code of the report designer user control:

<UserControl x:Class="DiERP.FrmReportDesigner"
             x:Name="FrmReportDesigner_1"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:resx="clr-namespace:DiERP.Resources"
             xmlns:DiERP="clr-namespace:DiERP"
             xmlns:syncfusion="http://schemas.syncfusion.com/wpf" 
            Loaded="MainWindowOnLoaded"
             Height="auto" MinHeight="500" Width="1400">
    <UserControl.Resources>
        <Style TargetType="{x:Type TreeView}">
            <Setter Property="BorderBrush" Value="#B4CFEC"/>
            <Setter Property="FontSize" Value="14"/>
        </Style>
        <DiERP:ImageConverter x:Key="imageConverter"/>
    </UserControl.Resources>
    <Grid x:Name="spanMain">
   <Grid x:Name="grdDetils" Grid.Row="0" Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <syncfusion:ReportDesigner x:Name="reportDesigner" />
        </Grid>
    </Grid>
</UserControl>


7 Replies

VS Vinoth Srinivasan Syncfusion Team May 24, 2017 12:58 PM UTC

Hi Mohamed, 
 
Thanks for your interest in Syncfusion components. 
 
Query 
Response 
Report designer opens only in debug mode. 
 
Our reporting control assemblies are compiled to run in both debug and release mode, also we were able to run the report designer using the shared xaml code at our end. We have prepared a sample based on this and revert the sample by modifying based on your scenario to reproduce the problem at our end. The sample can be downloaded from the following location. 
Sometimes, when my application runs, it throws this error 
 
 
Regards, 
Vinoth S. 



MO Mohamed May 24, 2017 02:41 PM UTC

Thanks Vinoth, I figured out that Syncfusion:RibbonWindow is the appropriate container of the ReportDesigner, 
but my application requires to open it in a tabControl. So I add it as a Content object of TabItem and I wrap it inside a UserControl 
Then I add it like that:

AddToTab(new UCReportDesigner());
in AddToTab method:

FabTabItem item = new FabTabItem();

item.Content = ucReportDesigner;

tabControl.Tabs.Add(item);
...
so, is it possible to wrap the report designer in a user control?


VS Vinoth Srinivasan Syncfusion Team May 25, 2017 02:35 PM UTC

Hi Mohamed, 
 
Yes, it is possible to wrap our report designer in a user control and you can add the usercontrol in a TabControl. We have prepared a sample based on your requirement and it can be downloaded from the following location. 
 
 
If the above sample is not met with your requirement, then could you please update more details about the requirement, it will be helpful for us to provide the solution at the earliest. 
 
Regards, 
Vinoth S. 



PR Padmini Ramamurthy Syncfusion Team August 1, 2017 02:12 PM UTC

From: Mohamed Elshawaf
Sent: Tuesday, August 1, 2017 8:32 AM
To: Syncfusion Support <support@syncfusion.com>
Subject: Re: Syncfusion support community forum 130642, Report designer opens only in debug mode, has been updated.
 

Hi Syncfusion;

I want to know if there is new release of the report designer WPF
I sent an email previously mentioning a problem when editing the design of a report, and you said that this is a bug that will be fixed in the next release (at the end of July). sorry I can't find that email.

Thanks in advance,
 
Mohamed Elshawaf


VS Vinoth Srinivasan Syncfusion Team August 2, 2017 02:48 PM UTC

Hi Mohamed 

Sorry for the delay. 

We have not included the feature that is promised in the forum #130757. It is getting delayed from our side with the parallel progress of other pending features related to RDL standard. We have planned to include this in Volume 4, 2017 release which is tentatively scheduled to be released in the month October. 

Regards, 
Vinoth S. 



MO Mohamed August 2, 2017 02:58 PM UTC

Thanks for the reply, and waiting for the release.

best wishes

 



VS Vinoth Srinivasan Syncfusion Team August 3, 2017 02:29 PM UTC

Hi Mohamed, 
 
Thanks for your update. We will let you know once the feature has been included in our upcoming release. 
 
Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon