Exception while using RadSpreadsheet

9 posts, 0 answers
  1. Ishita
    Ishita avatar
    30 posts
    Member since:
    Nov 2013

    Posted 18 Mar 2015 Link to this post

    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

  2. Petya
    Admin
    Petya avatar
    983 posts

    Posted 20 Mar 2015 Link to this post

    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.

     
  3. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 26 Apr in reply to Petya Link to this post

    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...

  4. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 26 Apr in reply to Burt Link to this post

    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...
  5. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 02 May in reply to Burt Link to this post

    Hi, I found a solution by adding a reference to the Telerik.Windows.Documents.Core DLL.
  6. Tanya
    Admin
    Tanya avatar
    540 posts

    Posted 04 May Link to this post

    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.
  7. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 04 May in reply to Tanya Link to this post

    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

  8. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 07 Jun Link to this post

    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.

  9. Burt
    Burt avatar
    6 posts
    Member since:
    Jun 2014

    Posted 07 Jun Link to this post

    Hi,

     

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

Back to Top