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

Exception while using RadSpreadsheet

10 Answers 278 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ishita
Top achievements
Rank 1
Ishita asked on 18 Mar 2015, 06:27 AM
Hello,
        I get this Exception only sometimes while i run my silverlight 5 project.
" The invocation of the constructor on type 'Telerik.Windows.Controls.RadSpreadsheet' that matches the specified binding constraints threw an exception."
Code is here:
<Grid>
                   <Grid.RowDefinitions>
                       <RowDefinition Height="*"/>
                       <RowDefinition Height="25"/>
                   </Grid.RowDefinitions>
                   <telerik:RadSpreadsheet  Grid.Row="0"
                                            x:Name="radSpreadsheet"                                                                                         
                                            AllowDrop="True" MinHeight="100"/>
                   <spreadsheetControls:RadSpreadsheetStatusBar Grid.Row="1" VerticalAlignment="Bottom" RadSpreadsheet="{Binding ElementName=radSpreadsheet, Mode=OneTime}" />
               </Grid>

Please note that i am using Telerik Dll Version : 2014.1.224.1050

10 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 20 Mar 2015, 04:38 PM
Hello Ishita,

Such errors are pretty common in Silverlight applications and ultimately may have nothing to do with the XAML in the view. You could set the Break when CLR exception is thrown option in Visual Studio to see if you will receive an error with more information on the cause for this. 

Let me know how that goes.

Regards,
Petya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Burt
Top achievements
Rank 1
answered on 26 Apr 2017, 07:30 PM

hi i have a similar problem...however i do not agree with the response since it is only cause when i add the <telerik:RadSpreadsheet /> tag in the xaml code ... when i comment it out i get the following error: Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Telerik.Windows.Controls.RadSpreadsheet' that matches the specified binding constraints threw an exception.' Line number '350' and line position '19'.

the spredsheet control is ok and visible when embedded in a tabcontrol but give this error when i run the program...are there any solutions ...any help on resolving it...

0
Burt
Top achievements
Rank 1
answered on 26 Apr 2017, 07:32 PM
hi i have a similar problem...however i do not agree with the response since it is only cause when i add the <telerik:RadSpreadsheet /> tag in the xaml code ... when i comment it out i DON'T get the following error: Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Telerik.Windows.Controls.RadSpreadsheet' that matches the specified binding constraints threw an exception.' Line number '350' and line position '19'.
the spredsheet control is ok and visible when embedded in a tabcontrol but give this error when i run the program...are there any solutions ...any help on resolving it...
0
Burt
Top achievements
Rank 1
answered on 02 May 2017, 06:24 PM
Hi, I found a solution by adding a reference to the Telerik.Windows.Documents.Core DLL.
0
Tanya
Telerik team
answered on 04 May 2017, 01:20 PM
Hello Burt,

The reference to the Telerik.Windows.Documents.Core.dll assembly is among the required assembly references for RadSpreadsheet to work properly. Indeed, if this reference is missing, an exception like the described one will be thrown.

Regards,
Tanya
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Burt
Top achievements
Rank 1
answered on 04 May 2017, 02:01 PM

Hi Tanya,

Thanks to the Telerik Team for this cool development framework...keep up the good work...I am definitely considering some training in the same...best of luck for the future...

 

Kind regards,

Burt

0
Burt
Top achievements
Rank 1
answered on 07 Jun 2017, 07:58 PM

Hi,

For some strange reason, after I load data into the WPF spreadsheet, everything is fine, I can even access the tabs and the data will show, but when I click on any cell or a button on the window where the spreadsheet is, all the data disappears.Is this a normal behavior and how can I force the spreadsheet to retain the data that it got from the external spreadsheet that was loaded into it....Thanks.

0
Burt
Top achievements
Rank 1
answered on 07 Jun 2017, 08:24 PM

Hi,

 

Can everyone PLEASE disregard my last post...Thanks. Found the issue...Totally my fault...lol.

0
hart
Top achievements
Rank 1
Veteran
answered on 05 Sep 2018, 01:38 AM

How about the WPF Browser App.  Followed and included all resources -- still.... bang!

System.Windows.Markup.XamlParseException: ''The invocation of the constructor on type 'Telerik.Windows.Controls.RadSpreadsheet' that matches the specified binding constraints threw an exception.' Line number '20' and line position '5'.'

0
Tanya
Telerik team
answered on 07 Sep 2018, 11:32 AM
Hi,

Could you please share more information on which application you use and how you use it? Is it the click-once demo application? Have you installed it on the machine or you are building the source code for it?

Regards,
Tanya
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Spreadsheet
Asked by
Ishita
Top achievements
Rank 1
Answers by
Petya
Telerik team
Burt
Top achievements
Rank 1
Tanya
Telerik team
hart
Top achievements
Rank 1
Veteran
Share this question
or