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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Report designer opens only in debug mode

Thread ID:

Created:

Updated:

Platform:

Replies:

130642 May 23,2017 10:13 AM UTC Aug 3,2017 02:29 PM UTC WPF 7
loading
Tags: ReportDesigner
Mohamed
Asked On May 23, 2017 10:13 AM UTC

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>


Vinoth Srinivasan [Syncfusion]
Replied On 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. 


Mohamed
Replied On 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?

Vinoth Srinivasan [Syncfusion]
Replied On 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. 


Padmini Ramamurthy [Syncfusion]
Replied On 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

Vinoth Srinivasan [Syncfusion]
Replied On 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. 


Mohamed
Replied On August 2, 2017 02:58 PM UTC

Thanks for the reply, and waiting for the release.

best wishes

 


Vinoth Srinivasan [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;