Telerik Forums
UI for WPF Forum
1 answer
95 views

I have a diagram control, and I was drawing an arrow across it. I did this as ATP using Microsoft Coded UI. It recorded the sequence of steps correctly as well as the dragging, however, in the code behine it put  this statement as a comment.

 

System parameter 'Show window contents while dragging' is not set.This could lead to incorrect recording of drag actions

 

when running the ATP, when it comes to the stage of drawing the arrow, it just does not, stays there as though nothing is happening. Any advice whats happening? The particular windows system parameter is set to show contents when dragging. using windows server 2008 R2.

Petar Mladenov
Telerik team
 answered on 28 Apr 2016
5 answers
46 views
Hi. Please tell me - can I use telerik:CollectionEditor to edit content of telerik:RadTreeView? I've dug in Google about it but and don't find any information just about using telerik:CollectionEditor for editing content of telerik:RadTreeView. Thank you very much in advance. I bag your pardon for your time.
Eugene
Top achievements
Rank 1
 answered on 28 Apr 2016
2 answers
312 views

Hi,

in my mainwindow i have a radtabcontrol and i bind it to a collection of tabitems. Further i have datatemplates for each view (user control) and a datatemplateselector. Everything works without problems but once i set the IsContentPreserved property to true i get

System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set;  'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')

here is my xaml:

<telerik:RadWindow.Resources>
       <DataTemplate x:Key="ContentTemplateApplicationSettings">
           <local:ApplicationSettings/>
       </DataTemplate>
       <DataTemplate x:Key="ContentTemplateConversionRules">
           <local:ConversionRules/>
       </DataTemplate>
       <DataTemplate x:Key="ContentTemplateProductionOrderConversion">
           <local:ProductionOrderConversion/>
       </DataTemplate>
       <localutil:MainMenuContentTemplateSelector x:Key="MainMenutemplateSelector"
               ApplicationSettingsTemplate="{StaticResource ContentTemplateApplicationSettings}"
               ConversionRulesTemplate="{StaticResource ContentTemplateConversionRules}"
               ProductionOrderConversionTemplate="{StaticResource ContentTemplateProductionOrderConversion}"/>
   </telerik:RadWindow.Resources>
   <Grid>
       <Grid.RowDefinitions>
           <RowDefinition/>
           <RowDefinition Height="Auto"/>
       </Grid.RowDefinitions>
       <telerik:RadTabControl x:Name="MainMenuTabControl"
                              IsContentPreserved="True"
                              ItemsSource="{Binding MainMenuTabItems}"
                              ContentTemplateSelector="{StaticResource MainMenutemplateSelector}">
           <telerik:RadTabControl.ItemTemplate>
               <DataTemplate>
                   <TextBlock Text="{Binding Header}" />
               </DataTemplate>
           </telerik:RadTabControl.ItemTemplate>
       </telerik:RadTabControl>
       <StatusBar Grid.Row="1" Background="{StaticResource HeaderAndStatusBackground}">
           <StatusBarItem>
               <TextBlock Text="{Binding StatusText}" Foreground="White"/>
           </StatusBarItem>
       </StatusBar>
   </Grid>


What is the reason for this error?

thanks, 

michael

Michael
Top achievements
Rank 1
 answered on 28 Apr 2016
4 answers
164 views

 Is it possible RadHeatMap axes SmartLabelsMode="SmartStep" ? As you can see in the attached image , when I have a lot of data , labels overlap. Is there any solution in radhepmap ? In radcartesianchart with SmartStep the problem is solved.

Regards,

Gerard.

Gerard
Top achievements
Rank 1
 answered on 28 Apr 2016
1 answer
718 views

 

Objective:  To filter the listbox (Computers) and select an item whose value matches exactly with that of textbox (Search) value.

 

Considerations:

1) The items from the listbox are binded from the database.
2) The item in the listbox should be selected by default when textbox value matches with the listbox item.

 

Please help me on this

Yana
Telerik team
 answered on 28 Apr 2016
1 answer
84 views

Hi,

 

Look the first image on this page: http://docs.telerik.com/devtools/wpf/controls/radgauge/features/indicators/needle.html

I obtains exactly the same result, the 6 value tick disappears and the scale is not linear.

Thanks, marc.

Evgenia
Telerik team
 answered on 28 Apr 2016
1 answer
120 views

Hi,

I have a wcf service which return me list of items.

I wanted to use this service as Data Virtualization in wpf example.

For ex

I wanted to show 50 customers in the grid and when user scolls down to grid end, grid should be populated with next 50 customers.

I don't want to use WCF RIA/Data services, I have already existing wcf service which gives me list.

 

Please help me to achieve this.

Maya
Telerik team
 answered on 28 Apr 2016
4 answers
359 views

Hi, 

I am trying to customize the RadAutoCompleteBox visual to fit our application. I went thru the process of doing "Edit a Copy" of the Style. Without making any modification to the copied style, I've encountered an Error which causes the popup no longer shows up correctly.

System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type; Type='RadWatermarkTextBox'
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=WatermarkTextBox'. BindingExpression:Path=ActualWidth; DataItem=null; target element is 'AutoCompleteBoxesWrapPanel' (Name=''); target property is 'Width' (type 'Double')

Elon
Top achievements
Rank 1
 answered on 27 Apr 2016
2 answers
155 views

Hi,

In my GridView, i used a filter. In this filter, there is a lot of values, but not all of them :

We can see on screen '1' that the maximum value is '1.334', but on my graphic, the top of my curve is superior to 5.

BUT

When i choosed "superior to 5" in this same filter (screen '2'), I can see my values on my grid.

 

I want to know how I can see all of values in the values list ?

 

Thank you very much.

 

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 27 Apr 2016
5 answers
733 views

 <telerik:GridViewDataColumn Header="Valore" DataMemberBinding="{Binding Value,Converter={StaticResource DynamicsParameterConverter}}" />

Actually I have this column, my entity has other property called "Type", this one show me how to use a converter class.

I would change this column in this vesion

<telerik:GridViewDataColumn Header="Valore" DataMemberBinding="{Binding Value,Converter={StaticResource DynamicsParameterConverter}, ConverterParameter={Binding Type}}" Width="*" />

 

But I can't do this because ConverterParameter is not compatible with DependencyProperty, is there a workaround or feature of column for this?

Martin
Telerik team
 answered on 27 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?