RadSpreadStreamProcessing - classes inaccessible

1 Answer 43 Views
Grid
Dean
Top achievements
Rank 1
Iron
Iron
Veteran
Dean asked on 17 Jan 2025, 10:18 AM

Hi,

I'm sure I'm being stupid but could anyone help with why the following classes are inaccessible when I try to follow the example at https://www.telerik.com/blazor-ui/documentation/knowledge-base/grid-custom-cell-formatting-with-radspreadstreamprocessing#custom-cell-formatting-of-the-exported-file-with-radspreadstreamprocessing ?

It's not like they are completely unrecognised, just inaccessible due to their protection level.

What am I missing?

Thanks,

Dean

'CellValueType' is inaccessible due to its protection level
'IWorkbookImporter' is inaccessible due to its protection level
'SpreadImporter' is inaccessible due to its protection level
'IWorksheetImporter' is inaccessible due to its protection level
'IWorkbookImporter.WorksheetImporters' is inaccessible due to its protection level
'IWorksheetImporter.Name' is inaccessible due to its protection level
'IRowImporter' is inaccessible due to its protection level
'IWorksheetImporter.Rows' is inaccessible due to its protection level
'IRowImporter.RowIndex' is inaccessible due to its protection level
'ICellImporter' is inaccessible due to its protection level
'IRowImporter.Cells' is inaccessible due to its protection level
'ICellImporter.Value' is inaccessible due to its protection level
'ICellImporter.Format' is inaccessible due to its protection level
'ICellImporter.ColumnIndex' is inaccessible due to its protection level
'ICellImporter.RowIndex' is inaccessible due to its protection level
'ICellImporter.ColumnIndex' is inaccessible due to its protection level
'IRowImporter.RowIndex' is inaccessible due to its protection level

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 17 Jan 2025, 05:15 PM

Hi Dean,

All these are public, so this is either some Visual Studio bug (try restarting it), or something is misconfigured in the app itself. Try the example from our documentation in a brand new empty app and then compare the two apps.

https://docs.telerik.com/devtools/document-processing/api/telerik.windows.documents.spreadsheet.model.cellvaluetype

https://docs.telerik.com/devtools/document-processing/api/telerik.documents.spreadsheetstreaming.iworkbookimporter

https://docs.telerik.com/devtools/document-processing/api/telerik.documents.spreadsheetstreaming.spreadimporter

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dean
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 17 Jan 2025, 05:33 PM

Is there a minimum version of Telerik.Documents.SpreadsheetStreaming I need?  I'm only on 2022.2.428.
Dimo
Telerik team
commented on 17 Jan 2025, 05:39 PM

Dean
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 20 Jan 2025, 10:38 AM

I get the same behaviour in a brand new empty app - see attached

Dimo
Telerik team
commented on 20 Jan 2025, 11:07 AM

@Dean - thanks for the app. I dug deeper and it turned out that the KB example is using Telerik Document Processing features, which are not available for your version 2022.2.428.

The situation is:

Dean
Top achievements
Rank 1
Iron
Iron
Veteran
commented on 20 Jan 2025, 04:51 PM

Ok, I can actually use 2022.3.906 with Telerik UI for Blazor 3.3.0, and this fixes the problem and doesn't appear to have broken anything else.  Thanks.
Tags
Grid
Asked by
Dean
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Dimo
Telerik team
Share this question
or