Telerik Forums
UI for WPF Forum
1 answer
153 views

Hey community,
the row redorder sample doesn't work within a RadLayoutControl. It looks like as if the RadLayoutControl would intercept the DragEvent, so the  GiveFeedbackEventArgs is not called within the RowReorderBehavior.
Can you provide me asample or give me a hint please.

I've tried it with this sample:

http://docs.telerik.com/devtools/wpf/controls/dragdropmanager/how-to/howto-draganddrop-within-radgridview

Kind regards,
Lars

Stefan
Telerik team
 answered on 21 Jun 2017
2 answers
118 views

Hi,

I would trace in a RadTreeView the structure Groups/Items, wher Groups is first level and Items second one.

I thought that I could intercept "Item Added To Group event", can I do this in somehow?

Two cases I shuold keep:

  • I drag and drop 2 or more objects into RadDiagram, add theme both and create a group for theme.
  • I have already 2 or more objects into RadDiagram, user selects theme and clicks "Group Items" command.



Dinko | Tech Support Engineer
Telerik team
 answered on 21 Jun 2017
1 answer
99 views

Hi,

firstly thanks so much for the work you've done in providing the Pivotgrid. It has great functionality straight out of the box and our clients will love it!  

My query is about row and column averages. I basically want to be able to highlight specific cells that fall below a row or column average. I know how to use the CellTemplateSelector to change the colour but don't know how to actually find the row, column or overall average so that I have an average threshold to compare the cell value against. For example, take the following grid...

           Q1    Q2    Q3    Q4

Fred     2       6       7      9

Wilma  10     10      3     9

How would I work out that Fred's average is 6 (2+6+7+9 / 4) or that the overall average is 7 (2+6+7+9+10+10+3+9 / 8) so that I can highlight the cells falling below the average?

Thanks for any help here : )

Iain.

Martin Ivanov
Telerik team
 answered on 20 Jun 2017
1 answer
145 views

RadAutoCompleteBox -  If the user select the invalid record (means other than the item in the list), we need notify the user and reset to the empty value.

could you please help me to resolve the issue.

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 20 Jun 2017
1 answer
88 views
Hi, we are using telerik RadDataFilter but we do not want the user to be able to create an infinite-depth tree of filters (we think an excessive deep tree makes the UI messy and can get the filtering too complicated). We'd like to limit the depth in a way that after, let's say, 5 level of filters nesting, the user can't be able to generate a new level by clicking on the last green button of the filter, possibly hiding the button or cancelling some way the operation. We couldn't find a way to achieve our goal.

Thanks in advice!
Stefan
Telerik team
 answered on 20 Jun 2017
1 answer
144 views
Hi,
In my GridViewDataColumn I set following CellTemplate:
 
<StackPanel Orientation="Horizontal">
      <telerik:RadComboBox IsEditable="True" x:Name="rcb" 
                           DisplayMemberPath="Name" 
                           Loaded="RadComboBox_Loaded" 
                           Text="{Binding State, Mode=TwoWay}" Width="100"/>

      <TextBlock Text="{Binding ElementName=rcb, Path=Text}" Margin="2 0" Width="100"/>
</StackPanel>


and the RadCombobox Items can be Following Values:
VeryBad, Bad, Good Plus, Good Neg, Good, ...

I set value of the first cell to Good
(=> RadComboBox and TextBlock Both show Good)
but when I scrolling 
the text of RadCombobox change to Good Plus
but TextBlock Shows Good.

My Solution:
https://www.mediafire.com/?2v5p21y6k8w0a7o
Ahmad
Top achievements
Rank 1
 answered on 19 Jun 2017
4 answers
160 views

Hi,

Following the steps of the documentation I installed the theme of visual studio 2013:

http://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-setting-a-theme-overview

The problem I have is that it works for me in all grids except one that I have filters (I do not know if it has anything to do with). 

As you can see in the picture 1.png works fine.

In the 2.png image we can see that the theme is applied in the grid header, but the shading and selection are of a different color (I guess the default theme). The same thing happens in the 3.png image that belongs to RadContextMenu, the shading is not of the visual studio 2013 theme.

<telerik:RadGridView Grid.Row="1" Name="DatagridResults" FilterOperatorsLoading="DatagridResults_OnFilterOperatorsLoading" Filtering="DatagridResults_OnFiltering" Filtered="DatagridResults_OnFiltered" ItemsSource="{Binding OptimizerResults}" helpers1:BarLogColumnsBindingBehavior.Columns="{Binding ResultsOptimizerColumns}" Loaded="DatagridResults_OnLoaded" MouseDoubleClick="ResultsOnMouseDoubleClick" Sorting="DatagridResults_OnSorting" Sorted="DatagridResults_OnSorted" ShouldCloseFilteringPopupOnKeyboardFocusChanged="True" IsReadOnly="True" ShowGroupPanel="False" CanUserDeleteRows="False" CanUserInsertRows="False" AreRowDetailsFrozen="True" CanUserReorderColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" RowIndicatorVisibility="Collapsed" IsFilteringAllowed="True" EnableColumnVirtualization="True" FrozenColumnsSplitterVisibility="Collapsed">
    <telerik:RadContextMenu.ContextMenu>
        <telerik:RadContextMenu ItemsSource="{Binding MenuItemContextMenuItemsCollection}" >
            <telerik:RadContextMenu.ItemContainerStyle>
                <Style TargetType="telerik:RadMenuItem">
                    <Setter Property="IsCheckable" Value="True"/>
                    <Setter Property="IsChecked" Value="{Binding IsChecked}"/>
                    <Setter Property="Command" Value="{Binding Command}"/>
                    <Setter Property="Header" Value="{Binding Header}"/>
                    <Setter Property="CommandParameter" Value="{Binding RelativeSource={RelativeSource Self}}" />
                </Style>
            </telerik:RadContextMenu.ItemContainerStyle>
        </telerik:RadContextMenu>
    </telerik:RadContextMenu.ContextMenu>
</telerik:RadGridView>

 

Do you think it may be happening? Thank you.

 

Regards,

Gerard.

 

 

 

Gerard
Top achievements
Rank 1
 answered on 19 Jun 2017
1 answer
229 views

I was planning to use Winform-Gantt View. but I heard that recurring task is not supported in Winform Gantt-View.
(http://www.telerik.com/forums/show-multiple-tasks-on-one-line-in-gantt-view)

Thus, I change my plan to apply WPF GanttView for my project.
I tried many things using Telerik WPF demo for applying our project.
but I have some problems to do it.  

 

1. Is it possible to show miliseconds timeline in a Gantt View?

 I can only show in the minimum timeline as a minute (day:hour:01) 
Is it possible  to show miliseconds? or in a second?

2.  In the recurrent task, is it possible to custom move? (not all just one task)

Thanks , Hyeon

Martin
Telerik team
 answered on 19 Jun 2017
1 answer
217 views
Hello Telerik Team,
                              I have one problem in my WPF project. I was getting issues when we select more than 6000 documents from radgridview after select these documents i was selecting 1 documents . so it was taking near about 45 seconds time to select the single document. so from telerik team someone suggested to update the telerik versions with the newer one. after upgradation all the radmenuitems were not working and some UI things also not working,i have attached the snapshots of the radmenuitems. what i have to do for it to fix these issues.

Regards
Raju Tiwari
Stefan
Telerik team
 answered on 19 Jun 2017
3 answers
296 views

I must be missing something simple. I'm just trying to work with the background colors for the TabItems. I've made a Control Template and Style. When I explore the Live Visual Tree, I find that BorderVisual is being defined from the default Implicit Styles file. Everything else above seems to be pulling correctly from the Style and Template I've made. What am I doing wrong?

                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                    xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
                    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
                    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
                    xmlns:telerikTabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation"
                    xmlns:telerikNavigationPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation">
    <ControlTemplate x:Key="JobTypeTabItemTemplate" TargetType="{x:Type telerik:RadTabItem}">
        <Grid x:Name="wrapper">
            <Border x:Name="BorderVisual"
                    CornerRadius="3,3,0,0"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    Background="{TemplateBinding Background}"
                    BorderThickness="{TemplateBinding BorderThickness}"/>
            <telerikPrimitives:LayoutTransformControl x:Name="OrientationTransform">
                <ContentControl x:Name="HeaderElement"
                                IsTabStop="False"
                                Content="{TemplateBinding Header}"
                                ContentTemplate="{TemplateBinding HeaderTemplate}"
                                Foreground="{TemplateBinding HeaderForeground}"
                                HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                Margin="{TemplateBinding Padding}"
                                ContentStringFormat="{TemplateBinding HeaderStringFormat}"
                                ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
                                SnapsToDevicePixels="True"/>
            </telerikPrimitives:LayoutTransformControl>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <!--<Setter TargetName="BorderVisual" Property="Background" Value="{telerik1:Office2016Resource ResourceKey=AccentMouseOverBrush}"/>
                            <Setter TargetName="BorderVisual" Property="BorderBrush" Value="{telerik1:Office2016Resource ResourceKey=AccentMouseOverBrush}"/>-->
                <Setter TargetName="BorderVisual" Property="Background" Value="{telerik1:Office2016Resource ResourceKey=AlternativeBrush}"/>
                <Setter TargetName="BorderVisual" Property="BorderBrush" Value="{telerik1:Office2016Resource ResourceKey=AlternativeBrush}"/>
                <Setter TargetName="HeaderElement" Property="Foreground" Value="{telerik1:Office2016Resource ResourceKey=MarkerBrush}"/>
            </Trigger>
            <Trigger Property="IsSelected" Value="True">
                <!--<Setter TargetName="BorderVisual" Property="Background" Value="{telerik1:Office2016Resource ResourceKey=AlternativeBrush}"/>
                            <Setter TargetName="BorderVisual" Property="BorderBrush" Value="{telerik1:Office2016Resource ResourceKey=AlternativeBrush}"/>-->
                <Setter TargetName="BorderVisual" Property="Background" Value="{telerik1:Office2016Resource ResourceKey=AccentMouseOverBrush}"/>
                <Setter TargetName="BorderVisual" Property="BorderBrush" Value="{telerik1:Office2016Resource ResourceKey=AccentMouseOverBrush}"/>
                <Setter TargetName="HeaderElement" Property="Foreground" Value="{telerik1:Office2016Resource ResourceKey=MarkerInvertedBrush}"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    <Style x:Key="JobTypeTabItemStyle" TargetType="{x:Type telerik:RadTabItem}" BasedOn="{StaticResource RadTabItemStyle}">
        <Setter Property="Template" Value="{StaticResource JobTypeTabItemTemplate}"/>
        <Setter Property="FontFamily" Value="{telerik1:Office2016Resource ResourceKey=FontFamily}"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="1 1 1 0"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="MinWidth" Value="5"/>
        <Setter Property="MinHeight" Value="5"/>
        <Setter Property="HeaderForeground" Value="{telerik1:Office2016Resource ResourceKey=MarkerInvertedBrush}"/>
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="Template" Value="{StaticResource TabItemTemplate}"/>
        <Setter Property="Padding" Value="18,6,18,3" />
        <Setter Property="Header" Value="{Binding TabText}"/>
        <Setter Property="FontSize" Value="14"/>
    </Style>
</ResourceDictionary>
Stefan
Telerik team
 answered on 19 Jun 2017
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?