This is a migrated thread and some comments may be shown as answers.

CUIT is not able to identify controls placed inside CellTemplate w.r.t Binaries.NoXaml telerik version

6 Answers 39 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sirisha
Top achievements
Rank 1
Sirisha asked on 20 Jan 2014, 06:16 AM
Hi Team,

I have a cell template with 2 buttons placed inside it. I am using Telerik assemblies from Binaries.Noxaml version. CUIT is not able to identify the buttons placed inside the cell at runtime.

Can anyone suggest how to fox this issue?

Regards,
Sirisha

6 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 21 Jan 2014, 11:33 AM
Hi Sirisha,

Thank you for the feedback.

I've tested the described scenario with Q3 2013 SP1 official Telerik binaries and with VS2012 and I couldn't find any problems. Could you be more specific what do you mean by "CUIT is not able to identify the buttons placed inside the cell at runtime."? Is your test fail on playback or on some assertions? Also, what version of the Telerik dlls you are using?

Regards,
Yordanka
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Sirisha
Top achievements
Rank 1
answered on 23 Jan 2014, 05:01 AM
Hi Yordanka,

I am using the latest Telerik version Q3 SP1. I am still facing the same issue. I am referring the Telerik Binaries from Binaries.NoXaml\WPF45 folder. I am using the Telerik.Windows.Themes.Office_Blue theme. 

Following is the xaml code:
<Grid>     
      <telerik:RadTabControl Name="MainTabControl" Visibility="Visible" TabStripPlacement="Left" SelectionChanged="MainTabControl_SelectionChanged">
          <telerik:RadTabItem Header="Define Manual Columns" Visibility="Visible">
              <StackPanel>
                  <Button />
                  <telerik:RadGridView x:Name="LegendEntryGrid" 
                                   Grid.Row="0"
                                   HorizontalAlignment="Stretch"
                                   VerticalAlignment="Stretch"
                                   ColumnWidth="160" ShowGroupPanel="False"
                                   ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.CanContentScroll="True"
                                   Grid.Column="0" Grid.ColumnSpan="7"
                                   IsReadOnly="True"  AutoGenerateColumns="False" 
                                   SelectionMode="Extended" SelectionUnit="FullRow"
                                   Tag="LegendEntriesView"
                                   ItemsSource="{Binding Customers}">
 
                      <telerik:RadGridView.Columns>
                          <telerik:GridViewDataColumn x:Name="Action"  Tag="False" Header="Test Column" Width="Auto" IsResizable="False" HeaderTextAlignment="Center" >
                              <telerik:GridViewDataColumn.CellTemplate>
                                  <DataTemplate>
                                      <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                                          <telerik:RadButton x:Name="EditClick" Margin="2" Width="20" Padding="0" Height="20"
                                                         Visibility="Hidden" HorizontalAlignment="Center" HorizontalContentAlignment="Stretch" >
                                              <Image Width="Auto" Height="Auto" Source="Images/peter.jpg"/>
                                          </telerik:RadButton>
 
                                          <telerik:RadButton Margin="2" Width="20" Padding="0" Height="20" HorizontalAlignment="Center" HorizontalContentAlignment="Stretch" >
                                              <Image Width="Auto" Height="Auto" Source="Images/lisa.jpg"/>
                                          </telerik:RadButton>
                                          <telerik:RadButton Margin="2" Width="20" Padding="0" Height="20"  HorizontalAlignment="Center" HorizontalContentAlignment="Stretch" >
                                              <Image Width="Auto" Height="Auto" Source="Images/save.png"/>
                                          </telerik:RadButton>
                                      </StackPanel>
                                  </DataTemplate>
                              </telerik:GridViewDataColumn.CellTemplate>
                          </telerik:GridViewDataColumn>
                      </telerik:RadGridView.Columns>
                  </telerik:RadGridView>
              </StackPanel>                  
          </telerik:RadTabItem>            
      </telerik:RadTabControl>
  </Grid>

Following is the code in App.xaml:
<ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/System.Windows.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
                <ResourceDictionary Source="/Telerik.Windows.Themes.Office_Blue;component/Themes/Telerik.Windows.Controls.Data.xaml"/>               
 
            </ResourceDictionary.MergedDictionaries>
            </ResourceDictionary>

I have attached the snapshot of my references. Let me know if some more info has to be provided by me.

This is a blocking issue and any help in resolving it is greatly appreciated.

Note:
I am using VSTS Premium 2012 with Update 2. Let me know if Update 4 is to be installed for this.

Regards,
Sirisha
0
Yordanka
Telerik team
answered on 24 Jan 2014, 04:43 PM
Hello Sirisha,

Thank you for the details.

We are aware of this problem and it is logged in our tracking system for further investigation. It can be experience only with Visual Studio 2012 and .NET 4.5 and we guess it's due to the changes of the search criteria Microsoft made in the newer version. I will raise its priority so it can be resolved as soon as possible.

Regards,
Yordanka
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Sirisha
Top achievements
Rank 1
answered on 27 Jan 2014, 04:08 AM
Yordanka,

It is a blocking issue for us. Could you please provide information on when can we expect the solution?

Regards,
Sirisha
0
Sirisha
Top achievements
Rank 1
answered on 28 Jan 2014, 05:16 AM
Hi Yordanka,

One quick question:
The template I am using is working good if I reference Telerik assemblies fom Binaries folder. This issue is seen only when we use the assemblies from Binaries.NoXaml.

If CUIT has some issue, then it should have failed in both of the cases but it is working in the prior case. Can you please check if we have to set a value for a property or so in the design so that CUIT recognises it when we reference the assemblies from Binaries.NoXaml folder.

Regards,
Sirisha









0
Yordanka
Telerik team
answered on 29 Jan 2014, 12:13 PM
Hi Sirisha,

Thank you for the details.

We've tried both xaml (from Binaries folder) and NoXaml binaries and we get the exact same results - the problem with the search criteria. As soon as we release our Q1 2014 version (expected in the end of February) we will start working on the CodedUI problem.

As you get the different results with xaml and NoXaml binaries, could you setup a sample test project and sample CodedUI project and send it to us? We will check the case and will assist you further. In order to attach a project you need to open a support ticket.

Regards,
Yordanka
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Sirisha
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Sirisha
Top achievements
Rank 1
Share this question
or