Telerik Forums
UI for WinUI Forum
1 answer
169 views
Hi,

Load the sample app, it generates: Error HRESULT E_FAIL has been returned from a call to a COM component.

I have the same in a UWP app and it works perfectly.

<grid:RadDataGrid
            x:Name="DataGrid"
            Grid.Row="1"
            AutoGenerateColumns="True"
            Background="#f0f0f0"
            BorderThickness="0"
            FrozenColumnCount="4"
            GridLinesThickness="1"
            GridLinesVisibility="Horizontal"
            Margin="0,16,0,0"
            SelectionMode="None"
            UserColumnReorderMode="None"
            UserFilterMode="Disabled"
            UserGroupMode="Disabled">
            <grid:RadDataGrid.Commands>
                <powerNumbers:PowerNumbersAutoGenerateCommand />
            </grid:RadDataGrid.Commands>
        </grid:RadDataGrid>
Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Jul 2022
1 answer
128 views

Hi,

Any idea when we can expect the excel export functionality in Telerik WinUI?

 

Thanks

Stenly
Telerik team
 answered on 11 Feb 2022
1 answer
538 views

 

dear sir

I can't be executed in the unpackage mode.

 

 

 

Dilyan Traykov
Telerik team
 answered on 25 Jan 2022
1 answer
173 views

Hi Team,

I want to integrate Telerik DataGrid for the report module on my project. I want to group the particular field and perform sorting operations. Is it possible in this Library and If yes please provide the sample UWP for this.

 

Thanks, Regards

Kiran Kumar Maharana

Lance | Senior Manager Technical Support
Telerik team
 updated answer on 07 Jan 2022
1 answer
180 views
Is there a way to change the row height when the data for a column is multiline?  Not every row has multiline so I don't want to use the RowHeight property.  I can use a flyout to display the data, as in the attached screenshot,  but I'd really rather have it directly in the grid.  I'm using a textblock control inside a template column.  I had it working in using the Community Toolkit datagrid but when I switched to the Telerik version, I haven't been able to figure it out. 
Dilyan Traykov
Telerik team
 answered on 08 Dec 2021
1 answer
217 views

If I comment out the columns section it loads. So how did you guys get to work? Dylan sent me a ChartViewTest project and I dropped this section in replacing the chart (that works) and it still threw and exception so I know it is not a requirements or configuration issue. What am I doing wrong. Running out of time on this eval.  Thanks. 

  xmlns:grid="using:Telerik.UI.Xaml.Controls.Grid" 

     <grid:RadDataGrid AutoGenerateColumns="False"
                                 SelectionMode="Single"
                                 SelectionUnit="Row"                                 
                                 >
                <grid:RadDataGrid.Columns>
                    <grid:DataGridTextColumn Header="Name"/>
                </grid:RadDataGrid.Columns>
            </grid:RadDataGrid>

I get this...

System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
   at Microsoft.UI.Xaml.UIElement.Measure(Size availableSize)
   at Telerik.UI.Xaml.Controls.Grid.DataGridColumn.MeasureCellContainer(Double availableWidth, UIElement container)
   at Telerik.UI.Xaml.Controls.Grid.DataGridColumn.MeasureCell(GridCellModel cell, Double availableWidth)
   at Telerik.UI.Xaml.Controls.Grid.RadDataGrid.MeasureHeaderCell(GridHeaderCellModel cell)
   at Telerik.U

 

 

 

 

Vladimir Stoyanov
Telerik team
 answered on 10 Sep 2021
1 answer
109 views

When trying to debug my Application according to your manual (https://docs.telerik.com/devtools/winui/getting-started) this error appeared in my Debugging Session:

NameWertTyp
Exception{"Error HRESULT E_FAIL has been returned from a call to a COM component."}System.Exception {System.Runtime.InteropServices.COMException}

It happens when I'm trying to set the ItemsSource of my DataGrid.

I'm using the same declarations as described in your manuals example of using a DataGrid.

I've configured my environment according to the following specifications:

Visual Studio  16.11.1

Project Reunion 0.8.2

Telerik UI For Win UI 0.4.0 | I'm referring to the Win32-Assembly of Progress Control Panel

Are there any known issues with the current setup of 0.4.0 as described in this link (https://www.telerik.com/forums/is-winui-in-desktop-currently-supported)?

Dilyan Traykov
Telerik team
 answered on 25 Aug 2021
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?