Telerik Forums
UI for WinUI Forum
2 answers
235 views

This works:

<Window
    x:Class="xxxxxx"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="using:Telerik.UI.Xaml.Controls" 
    mc:Ignorable="d">
    <Grid>
        <TabView>
            <TabView.TabItems>
                <TabViewItem Header="CMD Prompt"/>
                <TabViewItem Header="PowerShell"/>
                <TabViewItem Header="Windows Subsystem for Linux"/>
            </TabView.TabItems>
        </TabView>
    </Grid>
</Window>


This does not due to the following. Using all of the latest nuget packages (2.0). I suspect it is related to being in a Window vs a control:

Microsoft.UI.Xaml.Markup.XamlParseException
  HResult=0x802B000A
  Message=XAML parsing failed.
  Source=WinRT.Runtime
  StackTrace:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)

<Window
    x:Class="xxxxxx"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="using:Telerik.UI.Xaml.Controls" 
    mc:Ignorable="d">
    <Grid>
        <telerik:RadTabControl>
            <telerik:RadTabControl.Items>
                <telerik:RadTabItem Header="Tab 1" Content="The content of tab item 1"/>
                <telerik:RadTabItem Header="Tab 2" Content="The content of tab item 2"/>
                <telerik:RadTabItem Header="Tab 3" Content="The content of tab item 3"/>
                <telerik:RadTabItem Header="Tab 4" Content="The content of tab item 4"/>
            </telerik:RadTabControl.Items>
        </telerik:RadTabControl>
    </Grid>
</Window>

Alan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 18 May 2022
0 answers
232 views

Error NU1202 Package Telerik.WinUI.Controls 1.2.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Telerik.WinUI.Controls 1.2.0 supports:
  - net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0)
  - uap10.0 (UAP,Version=v10.0)

 

Is the above true? I am using 1.2 via nuget. Is that correct?

Alan
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 29 Apr 2022
1 answer
89 views

So I was looking at the bits and I see three different sets of Binaries for the WinUI set.  What is the difference?

Sincerely,

Keith

Dilyan Traykov
Telerik team
 answered on 29 Apr 2022
1 answer
193 views

Ok so I have started a new project from the template and this is my XAML code#

I am getting the following error and cannot work out why ?

WMC0035 Duplication assignment to the 'Content' property of the 'Window'

WMC9997 There are multiple root elements. Line 21, position
<Window
    x:Class="Megasync_EAB.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ListViewBasicSample">
    <Grid>
        <ListView
        x:Name="BaseExample"
        ItemTemplate="{StaticResource ContactListViewTemplate}"
        BorderThickness="1"
        BorderBrush="{ThemeResource SystemControlForegroundBaseMediumLowBrush}"
        Width="350"
        Height="400"
        HorizontalAlignment="Left"/>
    </Grid>

</Window>

<DataTemplate x:Key="ContactListViewTemplate" x:DataType="local:MegaData">
    <TextBlock Text="{x:Bind Name}" x:Phase="1" Margin="0,5,0,5"/>
</DataTemplate>


Lance | Senior Manager Technical Support
Telerik team
 answered on 13 Apr 2022
1 answer
127 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
533 views

 

dear sir

I can't be executed in the unpackage mode.

 

 

 

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

I can't launch any app because the code below shows this error: System.ComponentModel.Win32Exception: 'Access Denied'

var process = Process.Start(@"C:\foo.exe");

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Jan 2022
1 answer
171 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
175 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
0 answers
521 views

We are getting this error message on the latest mac os only (Ios 12) and only on Safari. 

TypeError: null is not an object(evaluating 'document.getElementById('ctl00_PageContent_QUES_TITLERequiredFieldValidator') ['controltovalidate']="ctl00_PageContent_QUES_TITLE"')

TypeError: null is not an object (evaluationg 'b._behaviors') Telerik.web.ui.webresource.axd:6:7292

TypeError: null is not an object (evaluationg 'a.control=this') Telerik.web.ui.webresource.axd:6:7420

This does not happen on a mac using chrome nor on any browser on windows or linix.

 

Any help would be appreciated. 

 

 

Robert
Top achievements
Rank 1
 asked on 17 Nov 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?