Telerik Forums
UI for WPF Forum
6 answers
71 views
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
Yordanka
Telerik team
 answered on 29 Jan 2014
4 answers
270 views
Hi Team,
I have RadTabItem with ContentControl inside it. Coded UI Test is not able to identify the controls placed inside. I am referencing the telerik assemblies from Binaries.NoXaml folder under 4.5 version.

Can anyone help in resolving it?

Following is the Xaml template: 
<telerik:RadTabControl Name="MainTabControl" Visibility="Visible" TabStripPlacement="Left" SelectionChanged="MainTabControl_SelectionChanged">
           <telerik:RadTabItem Header="Define Manual Columns" Visibility="Visible" DataContext="{Binding Customers}">
               <StackPanel>
                   <ContentControl Content="{Binding}"  Grid.Row="0" Grid.RowSpan="2"  Grid.Column="1"       Width="Auto"  HorizontalAlignment="Stretch"                                     
                                         >
                       <ContentControl.Style>
                           <Style TargetType="ContentControl">
                               <Style.Triggers>
                                   <DataTrigger Binding="{Binding ReceiveNewsletter}" Value="True">
                                       <Setter Property="ContentTemplate">
                                           <Setter.Value>
                                               <DataTemplate>
                                                   <StackPanel >
                                                       <TextBlock x:Name="TestPanel1" Text="Test Panel"  Height="50" Width="50" VerticalAlignment="Top"  Foreground="Black" Margin="5"  />
                                                       <TextBlock  x:Name="TestPanel2" Text="Test Panel2" Height="50" Width="50" Foreground="Black" Margin="5"  />
 
                                                       <StackPanel  x:Name="ButtonsStack"   Orientation="Horizontal" HorizontalAlignment="Right"  VerticalAlignment="Bottom" Margin="0,100,5,0">
 
                                                           <telerik:RadButton x:Name="EditStyle"  ToolTipService.ToolTip="Edit" Height="25" Width="25">
                                                           </telerik:RadButton>
                                                           <telerik:RadButton x:Name="CopyStyle"  ToolTipService.ToolTip="Copy" Height="25" Width="25" >
                                                           </telerik:RadButton>
                                                           <telerik:RadButton x:Name="CancelSave1"  ToolTipService.ToolTip="Delete" Height="25" Width="25" >
 
                                                           </telerik:RadButton>
                                                       </StackPanel>
                                                   </StackPanel>
                                               </DataTemplate>
                                           </Setter.Value>
                                       </Setter>
                                   </DataTrigger>
 
                                   <!-- EDIT TEMPLATE -->
                                   <DataTrigger Binding="{Binding Temp}" Value="True">
                                       <Setter Property="ContentTemplate">
                                           <Setter.Value>
                                               <DataTemplate >
                                                   <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical">
                                                    </StackPanel>
                                               </DataTemplate>
                                           </Setter.Value>
                                       </Setter>
                                   </DataTrigger>
                               </Style.Triggers>
                           </Style>
                       </ContentControl.Style>
                   </ContentControl>
               </StackPanel>
           </telerik:RadTabItem>
       </telerik:RadTabControl>


Stefan
Telerik team
 answered on 29 Jan 2014
4 answers
987 views

Hello !

Is it possible to automaticly open the DropDown bei Beginning of Typing a searchcriteria in a as Autocomplete configured Combobox ?

Scenario is MVVM.

OpenDropDownOnFocus is not my prefered behaviour.

 I found that StaysOpenOnEdit doesn't work and are absolete.

Kalin
Telerik team
 answered on 29 Jan 2014
2 answers
104 views

Hello,



We recently upgraded from Q3 2012 to Q3 2013.  The tooltips on our graphs no longer display. 



Here's the XAML:

<telerik:RadCartesianChart x:Name="CollectionChart" Margin="11,0" Grid.Column="1" HorizontalAlignment="Stretch">
  
<telerik:RadCartesianChart.Behaviors>
    <telerik:ChartTooltipBehavior VerticalOffset="7"/>
</telerik:RadCartesianChart.Behaviors>
  
<telerik:RadCartesianChart.TooltipTemplate>
    <DataTemplate>
        <Grid IsHitTestVisible="False">
            <Border BorderBrush="DarkGray" BorderThickness="1" CornerRadius="1">
                <StackPanel Background="WhiteSmoke" >
                    <TextBlock FontSize="11" Text="{Binding Category, StringFormat='\{0:MMMM yyyy\}'}" Padding="2,2,2,0" />
                    <TextBlock FontSize="11" Text="{Binding Value, StringFormat='\{0:C0\} Collection'}" Padding="2,0,2,2" />
                </StackPanel>
            </Border>
        </Grid>
    </DataTemplate>
</telerik:RadCartesianChart.TooltipTemplate>
  
<telerik:RadCartesianChart.VerticalAxis>
    <telerik:LinearAxis LabelFormat="C0"/>
</telerik:RadCartesianChart.VerticalAxis>
  
<telerik:RadCartesianChart.HorizontalAxis>
    <telerik:CategoricalAxis />
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:BarSeries x:Name="CollectionLastYearBarSeries" CombineMode="Cluster"
        CategoryBinding="MonthStringCategory" ValueBinding="Total" HorizontalContentAlignment="Left">
    <telerik:BarSeries.PointTemplate>
        <DataTemplate>
            <Border BorderBrush="#A8E083"
            BorderThickness="1" CornerRadius="1" MaxWidth="20" >
                <Rectangle Fill="#A8E083" MaxWidth="20"/>
            </Border>
        </DataTemplate>
    </telerik:BarSeries.PointTemplate>
</telerik:BarSeries>
  
<telerik:BarSeries x:Name="CollectionThisYearBarSeries" CombineMode="Cluster"
    CategoryBinding="MonthStringCategory" ValueBinding="Total" HorizontalContentAlignment="Left">
    <telerik:BarSeries.PointTemplate>
        <DataTemplate>
            <Border BorderBrush="#468020"
            BorderThickness="1" CornerRadius="1" MaxWidth="20" >
                <Rectangle Fill="#468020" MaxWidth="20"/>
            </Border>
        </DataTemplate>
    </telerik:BarSeries.PointTemplate>
</telerik:BarSeries>
  
</telerik:RadCartesianChart>


Can you please let me know what has changed? 

Thanks!

E Pons
Top achievements
Rank 1
 answered on 28 Jan 2014
1 answer
168 views
Hello,

Can I use the ArcGIS Mapprovider inside radmap without purchasing any license from ESRI ? I would also like to take screenshots of the map and use them in presentations. Are there any issues ?

Thanks,
Sai
Andrey
Telerik team
 answered on 28 Jan 2014
4 answers
393 views
hi,
1) I've created WPF UserControl that contains three RadAutoCompleteBox's.
I want to drag and drop items from one searchbox to another within the wpf control.
I've tried setting AllowDrop="true", DragEnter="autocompletebox_DragEnter", DragLeave="autocompletebox_DragLeave"
and nothing happens.., (it's doesn't enter the events methods). what do i missing?

2) And another question, The DropDown ItemsSource is binded to a list:  List<INameWithIcon> EntityList.
I want to show both icon and name in the DropDown AND in the searchbox.

that is part of what i've defined-  

 TextSearchPath="Name"
 DropDownItemTemplate="{StaticResource EntitySearchTemplate}"

<DataTemplate x:Key="EntitySearchTemplate">
        <StackPanel Orientation="Horizontal">
            <Border>
                <Image Source="{Binding Path=IconPath}" />
            </Border>
            <TextBlock Text="{Binding Path=Name}" Style="{StaticResource AutoCompleteStyle}" Margin="10 0 0 0"/>
        </StackPanel>
    </DataTemplate>
Itsik
Top achievements
Rank 1
 answered on 28 Jan 2014
1 answer
383 views

Hi


I'm using a RadRicjTextBox in a WPF with DataBinding and ValidatesOnDataErrors, and I'm trying to add validation to ensure that the user has acutally typed something into the comment



Here is the XAML snippet...

<telerik:HtmlDataProvider Grid.Column="1" Grid.Row="3" x:Name="HtmlProvider2"
              RichTextBox="{Binding ElementName=CommentsRichTextBox}"
              Html="{Binding Response, Mode=TwoWay,ValidatesOnDataErrors=True}" />
<telerik:RadRichTextBox Height="92" Grid.Column="1" Grid.Row="3" Margin="2" x:Name="CommentsRichTextBox" />


But I'm not sure how to validate the contents in my IDataErrorInfo code, I can't just check to see if the Response field is empty, because as soon as you type anything, and then delete it, the field contains all the HTML wrappings.



Am I missing something or is there a way to do this, I had thought I should try and convert the HTML to Text somehow and then check, but I don't want that to happen with every key press (I'm also not sure how to go about it



Thanks in advance



Paul







Missing User
 answered on 28 Jan 2014
5 answers
168 views

hi


Is it possible to programmatically set a ColumnGroupDescriptor to allow column filtering. As you can see from my code I am setting IsVisible = false so that I don't show redundant info in each row.  I would like the Group column header to show the filter icon and allow for the column to be filtered.



Thanks

Rich





ColumnGroupDescriptor colGrpDesc = new ColumnGroupDescriptor();

colGrpDesc.Column = grid.Columns[groups.UniqueName];

colGrpDesc.Column.IsVisible = false;

colGrpDesc.SortDirection = sortDirection;

grid.GroupDescriptors.Add(colGrpDesc);









Yoan
Telerik team
 answered on 28 Jan 2014
1 answer
116 views
Hello, is possible to place a border in a cell, and have the border with rounded edges. I don’t want to use an image because the user needs to edit the cell, so editing and resizing would be an issue.

Thanks,
Scott
Nikolay Demirev
Telerik team
 answered on 28 Jan 2014
1 answer
47 views
hi
how can fill a gridview comboboxcolum based on another gridview comboboxcolumn selecteditem, in mvvm pattern?

thanks
Maya
Telerik team
 answered on 28 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?