CUIT playback is not working on RadGrid View

4 posts, 0 answers
  1. Rajendar
    Rajendar avatar
    70 posts
    Member since:
    Jun 2013

    Posted 24 Mar 2014 Link to this post

    CUIT Playback is not working on RadGridView. 

    SampleApplication ===Main.Xaml
    <UserControl x:Class="RadGridViewSampleWithUX.MainPage"
        d:DesignHeight="300" d:DesignWidth="400">
                <SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
                <SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="CadetBlue"/>

                <!-- Logo Path Style -->
                <Style x:Key="LogoIcon" TargetType="ContentControl">
                    <Setter Property="Height" Value="24"/>
                    <Setter Property="Width" Value="24"/>
                    <Setter Property="Margin" Value="0,1,10,0"/>
                    <Setter Property="Template">
                            <ControlTemplate TargetType="ContentControl">
                                    <Path UseLayoutRounding='False' Fill="{StaticResource HighLightColorBrush}" Stretch="Fill" Data="M8,0 C12.417931,2.8898596E-06 16,3.5814998 16,8 C16,12.417819 12.41803,16 8,16 C3.5816212,16 6.1398991E-06,12.417912 0,8 C1.5351338E-06,6.8954077 0.22386749,5.8431153 0.62867981,4.8860393 C0.65398115,4.82622 0.6799894,4.7667723 0.70669389,4.7077074 L0.73170543,4.6541386 L5.6357112,9.5581446 L3.7429986,11.450858 L3.7429986,11.493001 L11.669835,11.493001 L11.669835,3.5661643 L11.627691,3.5661643 L9.7349787,5.4588776 L4.8993444,0.62324351 L5.0666013,0.55490673 C5.5510159,0.36389247 6.0585575,0.21878535 6.5838675,0.12495131 C6.8465204,0.078035071 7.1136146,0.043936942 7.3844767,0.023327276 C7.5199089,0.013022465 7.6562829,0.0060896641 7.7935166,0.0026129775 C7.862133,0.00087448902 7.9309645,4.5157563E-08 8,0 z"/>

                <!-- ApplicationName Style -->
                <Style x:Key="ApplicationNameStyle" TargetType="TextBlock">
                    <Setter Property="Foreground" Value="{StaticResource NavigationForegroundColorBrush}"/>
                    <Setter Property="FontSize" Value="14"/>
                    <Setter Property="FontWeight" Value="Bold"/>
                    <Setter Property="Margin" Value="0,2,0,0"/>
                    <Setter Property="VerticalAlignment" Value="Center"/>
                    <Setter Property="Effect">
                            <DropShadowEffect BlurRadius="10" Opacity="0.25" ShadowDepth="0"/>

                <Style x:Key="TitleGridStyle" TargetType="Grid">
                    <Setter Property="Height" Value="42"/>
                    <Setter Property="Margin" Value="0"/>
                    <Setter Property="VerticalAlignment" Value="Top"/>

                <!-- Branding Border Style -->
                <Style x:Key="BrandingBorderStyle" TargetType="Border">
                    <Setter Property="Height" Value="42"/>
                    <Setter Property="Margin" Value="25,0,25,0"/>
                    <Setter Property="VerticalAlignment" Value="Top"/>
                    <Setter Property="HorizontalAlignment" Value="Left"/>

                <!-- Branding StackPanel Style -->
                <Style x:Key="BrandingStackPanelStyle" TargetType="StackPanel">
                    <Setter Property="HorizontalAlignment" Value="Left"/>
                    <Setter Property="Orientation" Value="Horizontal"/>
        <Grid x:Name="LayoutRoot" Background="White">
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>

            <Grid Grid.Row="0" x:Name="TitleGrid" Style="{StaticResource TitleGridStyle}" ShowGridLines="True">
                <Border x:Name="BrandingBorder" Style="{StaticResource BrandingBorderStyle}">
                    <StackPanel x:Name="BrandingStackPanel" Style="{StaticResource BrandingStackPanelStyle}">
                        <ContentControl Style="{StaticResource LogoIcon}"/>
                        <TextBlock x:Name="ApplicationNameTextBlock" Style="{StaticResource ApplicationNameStyle}" 
                                               Text="Telerik GridView With UX Demo" FontSize="17"/>

            <telerik:RadGridView x:Name="DemoGridView" 
    ItemsSource="{Binding Employees}" EnableRowVirtualization="False" EnableColumnVirtualization ="False"
                                     GridLinesVisibility="Horizontal" RowIndicatorVisibility="Collapsed" SelectionMode="Extended" SelectionUnit="FullRow" 
                                     AlternationCount="2" AlternateRowBackground="#FFEEEEEE" IsSynchronizedWithCurrentItem="False">


                    <telerik:GridViewDataColumn Header="Id" DataMemberBinding="{Binding Id}" TextAlignment="Right" IsReadOnly="True"/>
                    <telerik:GridViewDataColumn Header="EmployeeName" DataMemberBinding="{Binding EmployeeName}" TextAlignment="Right"  IsReadOnly="True"/>
                    <telerik:GridViewDataColumn Header="CompanyName" DataMemberBinding="{Binding CompanyName}" TextAlignment="Right"  IsReadOnly="True"/>
                    <telerik:GridViewDataColumn Header="Address" DataMemberBinding="{Binding Address}" TextAlignment="Right"  IsReadOnly="True"/>               

    Imports System.Collections.ObjectModel
    Imports System.ComponentModel

    Public Class ViewModel
        Implements INotifyPropertyChanged

        Public Sub New()
        End Sub

        Private mEmployees As ObservableCollection(Of Employee)
        Public Property Employees() As ObservableCollection(Of Employee)
                Return mEmployees
            End Get
            Set(ByVal value As ObservableCollection(Of Employee))
                mEmployees = value
            End Set
        End Property

        Public Event PropertyChanged(sender As Object, e As PropertyChangedEventArgs) Implements INotifyPropertyChanged.PropertyChanged

        Public Sub OnPropertyChanged(ByVal propertyName As String)
            RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
        End Sub

        Private Sub CreateData()
                Dim ListOfEmployees As New ObservableCollection(Of Employee)
                Dim employeeOne As New Employee
                employeeOne.Id = 1
                employeeOne.EmployeeName = "Goossen Samuel"
                employeeOne.CompanyName = "Internet deutschland gmbh"
                employeeOne.Address = "MarkGrafenStraze"

                Dim employeeTwo As New Employee
                employeeTwo.Id = 2
                employeeTwo.EmployeeName = "Stiehm Tobias"
                employeeTwo.CompanyName = "Internet deutschland gmbh"
                employeeTwo.Address = "Dortmund Universitait"

                Dim employeeThree As New Employee
                employeeThree.Id = 3
                employeeThree.EmployeeName = "Riedel Nicole"
                employeeThree.CompanyName = "Internet deutschland gmbh"
                employeeThree.Address = "Essen"

                Dim employeeFour As New Employee
                employeeFour.Id = 4
                employeeFour.EmployeeName = "Kordt Michael"
                employeeFour.CompanyName = "Internet deutschland gmbh"
                employeeFour.Address = "Dusseldorf"

                Dim employeeFive As New Employee
                employeeFive.Id = 5
                employeeFive.EmployeeName = "Grishanov pavel"
                employeeFive.CompanyName = "Internet deutschland gmbh"
                employeeFive.Address = "MunsterLand"

                Dim employeeSix As New Employee
                employeeSix.Id = 6
                employeeSix.EmployeeName = "Bhattu Hari Krishna"
                employeeSix.CompanyName = "Internet "
                employeeSix.Address = "Dilshuknagar, Xyz"

                Dim employeeSeven As New Employee
                employeeSeven.Id = 7
                employeeSeven.EmployeeName = "Gade Sumanth Reddy"
                employeeSeven.CompanyName = "Internet India"
                employeeSeven.Address = "ECIL, Yza"

                Dim employeeEight As New Employee
                employeeEight.Id = 8
                employeeEight.EmployeeName = "Aeddula Naga Babu"
                employeeEight.CompanyName = "Internet India"
                employeeEight.Address = "Uppal X Road, AAA"

                Dim employeeNine As New Employee
                employeeNine.Id = 9
                employeeNine.EmployeeName = "Arryamsetty Rahul"
                employeeNine.CompanyName = "Intergraph India"
                employeeNine.Address = "RTC X Roads, DDD"

                Dim employeeTen As New Employee
                employeeTen.Id = 10
                employeeTen.EmployeeName = "Aravind Kotte"
                employeeTen.CompanyName = "Internet India"
                employeeTen.Address = "BHEL, EEE"


                'For index = 10 To 100
                '    Dim emp As New Employee
                '    emp.Id = index
                '    emp.EmployeeName = "ICCian"
                '    emp.Address = "Begumpet, Hyderabad"
                '    emp.CompanyName = "ICC Capability Center"

                '    ListOfEmployees.Add(emp)

                Employees = ListOfEmployees

            Catch ex As Exception
                Throw New Exception(ex.Message)
            End Try
        End Sub

    End Class

  2. Yordanka
    Yordanka avatar
    634 posts

    Posted 25 Mar 2014 Link to this post

    Hi Rajendar,

    Currently we do not claim support for CodedUI for Silverlight as the plugin that enables it is not an official product of Microsoft.  We have automation peers, which are prerequisite for CUIT Level 1, but we have never developed, or tested it as an out of the box feature.

    Thus we cannot guarantee our controls' flawless operability with this plugin.


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

  3. Rajendar
    Rajendar avatar
    70 posts
    Member since:
    Jun 2013

    Posted 26 Mar 2014 in reply to Yordanka Link to this post

    Hi Yordanka,

    As we know Microsoft will be going officially support Silverlight 5 for CUIT testing from first half of 2014.

    Will you have any plans to provide CUIT support to Silverlight telerik controls ?

  4. Yana
    Yana avatar
    4604 posts

    Posted 26 Mar 2014 Link to this post

    Hello Rajendar,

    We cannot engage with any commitment on the CUIT for Silverlight 5 until it is introduced officially and we evaluate the efforts we need to invest in it. At this point we can only assure you that once there is an official version of Visual Studio with CUIT for Silverlight, we’ll look into it.


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

Back to Top