This is a migrated thread and some comments may be shown as answers.

RadDocumentPane error when dragging

5 Answers 58 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Edward
Top achievements
Rank 1
Edward asked on 19 Jan 2012, 12:31 AM
I have:
XAML:

<telerik:RadDocking Grid.Row="1" BorderThickness="0" Padding="0" Margin="5" x:Name="pnlDock">
                <telerik:RadDocking.DocumentHost>

                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup x:Name="pnlHelpGuides">
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>

                </telerik:RadDocking.DocumentHost>

C#:

UCEditor currentEditor = new UCEditor();
RadDocumentPane newPane = new RadDocumentPane() { Header = tabHeading, Title = tabHeading, Content = currentEditor, CanUserClose = true };
pnlHelpGuides.AddItem(newPane, Telerik.Windows.Controls.Docking.DockPosition.Center);                       
currentEditor.ImportDocument(e.Result as byte[]);
currentEditor.ShowEditor();


I load several documents based on user selection this way.
For some reason when user selects the first document and starts dragging get the following unhandled exception:

Cannot find a Resource with the Name/Key Theme [Line: 1693 Position: 52]


This only happens with the first document.  Not subsequent ones.  Everything works fine if I just ignore the error.
Right now I am just intercepting and handling for the error in App.xaml.cs.

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 21 Jan 2012, 10:01 AM
Hi Edward,

We are not aware of such issue. Could you please share with us with which version of the controls you are experiencing the issue. If you could isolate the problem in a sample project and send it to us it will be really helpful for tracking down the source of the problem in a timely manner.

Looking forward to your reply.

Regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Edward
Top achievements
Rank 1
answered on 25 Jan 2012, 08:44 PM
Just quickly, Q2 2011 SP1.
0
Konstantina
Telerik team
answered on 27 Jan 2012, 10:36 AM
Hello Edward,

Could you please try with the latest available version of the control - either the internal build from Monday, or the Q3 2011 SP1 official release. If you confirm the problem, could you please try to isolate it in a small project and send it back to us.

Thank you in advance.

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Edward
Top achievements
Rank 1
answered on 03 Feb 2012, 04:30 PM
We don't have license to latest build.  Would I have to use the trial version?
0
Konstantina
Telerik team
answered on 08 Feb 2012, 02:59 PM
Hi Edward,

Since you don't have license, you have to use a trial version.

All the best,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
RichTextBox
Asked by
Edward
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Edward
Top achievements
Rank 1
Share this question
or