Telerik Forums
UI for Silverlight Forum
0 answers
65 views

Hi Telerik,

I used the old Telerik Silverlight UI to create a simple *.exe file that creates an excel file.   The *.exe uses .NET framework 4 and references the below libraries from the 2017 Telerik Silverlight UI:

using Telerik.Windows.Documents.Spreadsheet;

using Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.xlsx;

This old *.exe no longer works when run on newer Windows 64-bit consoles with .NET 4.5 Framework installed.  The *.exe terminates with the below error stacktrace:

----------------------------

Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

   at Telerik.Windows.Documents.Spreadsheet.Model.Workbook..ctor()
   at OracleExcelExport.Program.ProcessConfigFile(String configFile) in C:\Users\183639\Documents\Visual Studio 2010\Projects\OracleExcelExport\OracleExcelExport\Program.cs:line 61
   at OracleExcelExport.Program.Main(String[] args) in C:\Users\183639\Documents\Visual Studio 2010\Projects\OracleExcelExport\OracleExcelExport\Program.cs:line 30

------------------------------

I am thinking it maybe 32-bit to 64-bit compatibility problem.  Either way, there is bad reference from Telerik.Windows.Documents.Spreadsheet.Workbook..ctor()

Let me know if you can help.

Winston
Top achievements
Rank 1
 asked on 10 Mar 2023
3 answers
72 views
HELLO

          I need a example to learn.(for printing) 
        
          Thanks a lot.
Tanya
Telerik team
 answered on 11 Oct 2018
10 answers
222 views
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

Tanya
Telerik team
 answered on 07 Sep 2018
3 answers
206 views
Is there a way to get the rows and columns for cells that has value without having to traverse through the whole worksheet? When I read in Row and Column count, it just gives me what Excel max is for row and column. Thanks.
Sudha
Top achievements
Rank 1
 answered on 12 Sep 2017
3 answers
167 views

Hello,

 

I'm using the PrintPreviewControl from the Telerik.Windows.Controls.Spreadsheet.Controls assembly in Silverlight.

However, the Print Settings, specifically the page orientation setting, does not seem to have any affect, with the setting from the browser's print dialog taking precedence instead.

Do I need to do something to handle this setting myself? Alternatively, is there a way to customise the PrintPreviewControl in order to hide some elements?

 

Thanks

Anna
Telerik team
 answered on 18 Aug 2017
1 answer
50 views

Apply Style to spreadsheet cells take a lot of time. Also if we try to perform merge through code than its is very slow. 

Can you please help me with this. Is there any way by which i can increase performance. 

 

Thanks

Mihail
Telerik team
 answered on 14 Mar 2017
3 answers
48 views
How to add Cell Edit Template to specific row or column.
Tanya
Telerik team
 answered on 10 Mar 2017
7 answers
204 views
I am using the Workbook class from Telerik.Windows.Documents.Spreadsheet.Model to export a RadGridView to a XLSX file.

I need to be able to add an image to a cell in the exported XLSX file.

I have been able to add a new worksheet and even insert ICellValues as desired; however. the ICellValues interface and the defined CellValueTypes are all using string values for the data.  I tried using ToString() on the BitmapImage but as expected this simply displayed the class type string when exported.  I tried converting the BitmapImage to Base64 but just got the Base64 text.

Looking at a few of the other libraries that allow for XLSX file exporting, their WorkBook classes have a Pictures collection that can be used but that is not the case with your Workbook class at this time.  Do you have another method for adding a picture to a cell at this time?  If not, do you intend on adding that functionality in the not too distant future?

Peter
Stefan Nenchev
Telerik team
 answered on 21 Feb 2017
3 answers
213 views
Hi,
      I want to disable editing in my spreadsheet but it should allow to change sheets.(If i set IsEnable = false, it does not allow me to change the sheet.).

Thanks in advance :)
Boby
Telerik team
 answered on 29 Dec 2016
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?