Telerik Forums
UI for WPF Forum
2 answers
219 views
I am using the spreadsheet to gather input from my users. We do the validation, however, to really make this program pop it would be great if there is a way to change the cell border color to a red boarder with a gradient starting from the cell boundary and moving inward so looking at the program it would be easy to find which values are out of range.  I have tried using the brush and gradient but I can only do it for the whole page.  I would settle for just changing the background of an out of range cell to red.  Are there any samples you can point me to?

Thanks, great control by the way.

John
John
Top achievements
Rank 1
 answered on 11 Mar 2015
2 answers
437 views
Hello,

In my application I have a RadTimeline control which has a custom row index generator like this:

class CustomRowIndexGenerator : IItemRowIndexGenerator
    {
        public void GenerateRowIndexes(List<TimelineRowItem> dataItems)
        {
            foreach(TimelineRowItem item in dataItems)
            {
                if (item.RowIndex > 0)
                    item.RowIndex = 0;
            }
        }
    }

This is because when some items share a time space I want them to overlap and show them in a single row. 

When this occur, the newest item is shown on the top.

I'd like to know if it is possible to show the items in the opposite way, the oldest item on top.

I've attached an image to show my case, first a normal case (no overlap), then a case using the row index generator (overlaping items) and the last one, the case that I'd like to accomplish.

Thanks in advance,

Alberto


Amige
Top achievements
Rank 1
Veteran
 answered on 11 Mar 2015
2 answers
153 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
379 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
119 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
102 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
321 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
129 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
462 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
599 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
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?