Telerik Forums
UI for WPF Forum
2 answers
129 views
Hi,
How can I change the language of the default controls captions without change Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture?

For example:
PC language and cultureinfo are set as ITA
SW language is set as EN and culture info as ITA

I need to keep the number and date format setting as ITA and captions as EN

Thanks
Mattia
Top achievements
Rank 2
 answered on 11 Mar 2015
3 answers
347 views
We have KeyTipService enabled on our RadRibbonView.  Some of our users want to use Alt + Key Code (example Alt + 132) to insert special characters when typing into a textbox.  The problem is RadRibbonView is trapping the Alt command when used this way.  

Compare to an application like MS Word 2013.  Just hitting Alt and releasing brings up the key hints for navigating the ribbon.  Hitting Alt + 132 enters an "รค".  With RadRibbonView, hitting Alt even if combined with other keys always brings up the hint text and prevents default behavior of the textbox. 

Is there a way to prevent this?
Kiril Vandov
Telerik team
 answered on 11 Mar 2015
1 answer
98 views
Could not load file or assembly 'Telerik.Windows.Controls.Navigation, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

I have reference

Telerik.Windows.Data.dll
Telerik.Windows.Controls.dll
Telerik.WIndows.Controls.Navigation.dll

First time using telerik and followed online documentation very disappointing.
Sia
Telerik team
 answered on 11 Mar 2015
1 answer
83 views
Hello Guys,

i didn't found something about this bug, so i want to report it.
If you use the RadColorEditor and the User enters more than 8 Character into the input field, the program Crashes.

Best regards
Morten
Martin Ivanov
Telerik team
 answered on 11 Mar 2015
4 answers
304 views
Hi,

Is there any way to hide option "Clear Filter" in RadGridView? I use FilteringMode.FilterRow. I know that we have available filter operators in FilterOperatorsLoading event, but this collection doesn't have option "Clear Filter". Mayve we have another way to hide this option in filter?


Ivan
Top achievements
Rank 1
 answered on 11 Mar 2015
1 answer
111 views
New to using WPF and Telerik, but I have been tasked with trying to find a way to sync Telerik with a video playback.

Our customer has a video of a training sessions and he wants to put that into this program we have for After Action Reviews or AAR.

In this AAR program we have a Telerik Time line that shows at which point in the training certain events took place, and then the specific metrics of that event. Now they want to implement this video into the program so every time they goto the AAR there is a video of the training next to the Telerik Timeline.

What I need to figure out:

* How can I sync up the video and the Telerik timeline, so that if they click to look at a certain event, the Video jumps to the corresponding spot in the video. Or if they move the video slider to say 3min mark, the Telerik timeline ALSO moves to that exact spot.

Thanks
Petar Marchev
Telerik team
 answered on 11 Mar 2015
1 answer
439 views
I have a RadTreeView bound in an MVVM style application. If a selection does not contain Details I need to disable the ability to click on that node and keep the currently selected node highlighted. The user should still able to expand and collapse.

I have tried to bind to PreviewSelected but the SelectedItem property still gets hit even if I switch e.handled = true and I lose the node highlighting on the currently selected node. 

<
UserControl.Resources>
    <ResourceDictionary>
        <Style x:Key="PHToCItemContainerStyle" TargetType="{x:Type telerik:RadTreeViewItem}" BasedOn="{StaticResource RadTreeViewDefaultItemPlusMinusStyle}">
            <Setter Property="IsExpanded" Value="{Binding IsExpanded, Mode=TwoWay}"/>
            <Setter Property="IsSelected" Value="{Binding IsSelected, Mode=TwoWay}"/>
        </Style>
        <DataTemplate x:Key="Measure">
            <TextBlock Text="{Binding Name }" Style="{StaticResource RadTreeViewItemSelectedTextBlockDefaultStyle}" VerticalAlignment="Center"/>
        </DataTemplate>
        <HierarchicalDataTemplate x:Key="Condition" ItemTemplate="{StaticResource Measure}" ItemsSource="{Binding Measures}">
            <TextBlock Text="{Binding Name}" Style="{StaticResource RadTreeViewItemSelectedTextBlockDefaultStyle}" />
        </HierarchicalDataTemplate>
        <HierarchicalDataTemplate x:Key="ConditionGroup" ItemTemplate="{StaticResource Condition}" ItemsSource="{Binding Conditions}" >
            <TextBlock Text="{Binding Name }" FontWeight="Bold" Style="{StaticResource RadTreeViewItemSelectedTextBlockDefaultStyle}" />
        </HierarchicalDataTemplate>
    </ResourceDictionary>
</UserControl.Resources>
 
...
 
<telerik:RadTreeView
    x:Name="RadTree"     
    telerik:TextSearch.TextPath="Name"   
    VirtualizingStackPanel.IsVirtualizing="True"
    VirtualizingStackPanel.VirtualizationMode="Recycling"
    ItemsSource="{Binding ResultObject}"
    Style="{StaticResource RadTreeViewDefaultPlusMinusStyle}"
    ExpanderStyle="{StaticResource RadTreeViewDefaultPlusMinusExpanderStyle}"
    ItemTemplate="{StaticResource ConditionGroup}"
    ItemContainerStyle="{StaticResource PHToCItemContainerStyle}"
    SelectedItem="{Binding ResultObject.SelectedIndexItem}" />

dll version = 2014.1.331.45
Martin Ivanov
Telerik team
 answered on 11 Mar 2015
16 answers
560 views
When I load my layout all of my binding content is gone.  I had a similar issue with Header content on a RadDocumentPane and the solution was to use a HeaderTemplate.  This did resolve my issue with the header but when I try a similar approach with a ContentTemplate I have no success.

Is there a way to preserve my RadPane content when I load the layout?

I have the following XAML:

 

 

 

<telerik:RadPane x:Name="rpIndexPane" CanUserClose="False" ContextMenuTemplate="{x:Null}" CanDockInDocumentHost="False" Header="Index"

 

 

 

telerik:RadDocking.SerializationTag="IndexPane" DataContext="{Binding}">

 

 

 

 

<ItemsControl DataContext="{Binding}" ItemsSource="{Binding ActiveJob.Patient.CurrentVisit.Sections.Items}" HorizontalContentAlignment="Stretch">

 

 

 

 

<ItemsControl.Template>

 

 

 

 

<ControlTemplate TargetType="ItemsControl">

 

 

 

 

<ScrollViewer VerticalScrollBarVisibility="Auto">

 

 

 

 

<ItemsPresenter/>

 

 

 

 

</ScrollViewer>

 

 

 

 

</ControlTemplate>

 

 

 

 

</ItemsControl.Template>

 

 

 

 

<ItemsControl.ItemTemplate>

 

 

 

 

<DataTemplate>

 

 

 

 

<Button Background="{Binding Color}" Margin="1" Visibility="{Binding Visible, Converter={StaticResource BoolToVisConverter}}">

 

 

 

 

<TextBlock Text="{Binding Name}" Margin="3,5,3,5" HorizontalAlignment="Center"></TextBlock>

 

 

 

 

</Button>

 

 

 

 

</DataTemplate>

 

 

 

 

</ItemsControl.ItemTemplate>

 

 

 

 

</ItemsControl>

 

 

 

 

</telerik:RadPane>

 

Kalin
Telerik team
 answered on 11 Mar 2015
12 answers
265 views
Is it possible to take objectmodel and pass each objects "ID" property to an expressioneditor as a field? or maybe each column id in a datatable?
Dimitrina
Telerik team
 answered on 11 Mar 2015
1 answer
221 views
Hello,
 
I have a RadDiagram in which I load 400 items with almost 50 binding properties per-item, like for example BackgroundColor, FontSize, Width, Height, Visibility, etcโ€ฆ

Example of BackgroundColor property for binding: 

private Brush backgroundColor ;
public Brush BackgroundColor
{
      get{ return backgroundColor; }
      set
      {
              backgroundColor = value;
              OnPropertyChanged(โ€œBackgroundColorโ€);
      }


Each item is a derived class from MyNode:NodeViewModelBase with DataTemplate:  

<telerik:RadDiagram.ShapeStyle>               
       <Style TargetType="telerik:RadDiagramShape">
               <Setter Property="Position" Value="{Binding Position, Mode=TwoWay}" />                  
               <Setter Property="Background" Value="{Binding BackgroundColor} " />                   
               <Setter Property="BorderBrush" Value="Transparent" />
               โ€ฆโ€ฆโ€ฆโ€ฆโ€ฆ

The performance is very bad. It last up to 5 seconds to display the whole diagram with all items over it.  

Any help to enhance the performance?
Pavel R. Pavlov
Telerik team
 answered on 11 Mar 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?