Telerik Forums
UI for WPF Forum
3 answers
133 views
Hi Telerik,

I am working with the RadCartesianChart.
When i launch my application and starts zooming in on the graph everything works fine the first time i do this. 

But when i zoom out and afterwards mark an area with the mouse, then the zooming is completely wrong. 
I dont know if it is a bug in the graph component or if i am doing something wrong.

To give an example see zooming.jpg. On this image you can see the area i am marking with my mouse.
Now see zoomresult.jpg and watch the x-axis - it has zoomed in on a completely different area. 

I can see that all my dll's has version 2013.2.724.40.

Is this an issue you have heard other people have had?

Best regards,
Jeppe
Petar Marchev
Telerik team
 answered on 02 Apr 2014
2 answers
128 views
Hello, I have a RadRibbonView inside a BusyIndicator. The labels on the tabs appear disabled(light gray) even when the BusyIndicator is not in busy mode. If I mouse over the tabs, the labels appear enabled again, so it looks like a refresh issue. The disabled appearance can be seen even at design time. Is there a way to refresh the tabs to appear enabled?

Thanks,
Scott
Scott Michetti
Top achievements
Rank 1
Iron
 answered on 02 Apr 2014
1 answer
347 views
Hello,

I have bought the Terelik DevCraft package and now I am working to convert some of my controls to Telerik controls.
I started with a DataGrid, this DataGrid has a GroupStyle and I am trying to  apply this groupstyle to my new GridView.
The groupstyle has a converter which checks if the group contains more than 1 items, then it wil create a groupbox around the item with a header which specificies to which order the items belong. When there is only 1 item in the group there is no groupbox and no header.

I want to have the same functionality in my new GridView, my new GridView already group the items by ordernumber in an expander, I am now a bit lost on how to style the header so it shows the same information as my former groupstyle. Because of the expander of the GridView its not necessary to use a groupbox anymore.

My old groupstyle:

                    <DataGrid.GroupStyle>
                        <GroupStyle>
                            <GroupStyle.HeaderTemplate>
                                <DataTemplate>
                                    <StackPanel>
                                        
                                    </StackPanel>
                                </DataTemplate>
                            </GroupStyle.HeaderTemplate>
                            <GroupStyle.ContainerStyle>
                                <Style TargetType="{x:Type GroupItem}">
                                    <Style.Triggers>
                                        <DataTrigger Binding="{Binding Path=Items, Converter={StaticResource groupDocumentsConverter}}" Value="True">
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type GroupItem}">
                                                        <GroupBox Margin="2,20,2,25">
                                                            <GroupBox.HeaderTemplate>
                                                                <DataTemplate>
                                                                    <StackPanel VirtualizingStackPanel.IsVirtualizing="True" Orientation="Horizontal" DataContext="{Binding Path=DataContext, 
                                                                                    RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=GroupItem}}">
                                                                        <TextBlock Text="Order " FontWeight="Bold" />
                                                                        <TextBlock Text="{Binding Path=Name, StringFormat='{}{0:000000}'}" FontWeight="Bold"/>
                                                                        <TextBlock Text=" - " FontWeight="Bold"/>
                                                                        <TextBlock Text="{Binding Path=ItemCount}" FontWeight="Bold"/>
                                                                        <TextBlock Text=" document(s)" FontWeight="Bold"/>
                                                                    </StackPanel>
                                                                </DataTemplate>
                                                            </GroupBox.HeaderTemplate>
                                                            <ItemsPresenter />
                                                        </GroupBox>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </DataTrigger>
                                    </Style.Triggers>
                                </Style>
                            </GroupStyle.ContainerStyle>
                        </GroupStyle>
                    </DataGrid.GroupStyle>

I searched in the documentation on internet but wasnt able to find a good solution.
The documentation points me to altering the template using Blend, but I think a faster solution should be possible?

Any help would be greatly appreciated.

Marcel


                    





Yoan
Telerik team
 answered on 02 Apr 2014
5 answers
218 views
hi,
  i want to ask how to show human readable text below PDF 417 or above
  most of BarCode types have this option , but i cannot get it in this type
Makaveil
Top achievements
Rank 1
 answered on 02 Apr 2014
1 answer
86 views
Hi ,

I added a Dynamic Rad pane in the Rad docking control like this

RadPane radPane = new RadPane() { Title = "title", Header = "header" };
RadPaneGroup radPaneGroup = new RadPaneGroup();
RadSplitContainer radSplitContainer = new RadSplitContainer() { InitialPosition = DockState.DockedLeft
radPaneGroup.Items.Add(radPaneGroup);
radSplitContainer.Items.Add(radPaneGroup);
dock.Items.Add(radSplitContainer);

How do I add a Drag drop event to this radpane ?
Guna
Top achievements
Rank 1
 answered on 02 Apr 2014
1 answer
412 views
<UserControl.Resources>
<ResourceDictionary>
<ControlTemplate x:Key="RadTreeViewItemControlTemplate1" TargetType="{x:Type telerik:RadTreeViewItem}">
<Grid x:Name="RootElement">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid x:Name="HeaderRow" Background="Transparent" MinHeight="{TemplateBinding MinHeight}" SnapsToDevicePixels="True">
<Border x:Name="SelectionUnfocusedVisual" BorderBrush="#FFDBDBDB" BorderThickness="1" Grid.ColumnSpan="6" Grid.Column="2" CornerRadius="1" Visibility="Collapsed">
<Border BorderBrush="Transparent" BorderThickness="1" CornerRadius="0">
<Border.Background>
<LinearGradientBrush EndPoint="0,1">
<GradientStop Color="#FFF8F6F9" Offset="0"/>
<GradientStop Color="#FFF0F0F0" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
</Border>
</Grid>
</Grid>
<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsSelected" Value="True"/>
<Condition Property="IsSelectionActive" Value="False"/>
</MultiTrigger.Conditions>
<Setter Property="Visibility" TargetName="SelectionUnfocusedVisual" Value="Visible"/>
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</ResourceDictionary>
</UserControl.Resources>


<DockPanel>
<telerik:RadDocking x:Name="radDocking" Width="245" ConstraintAutoHideArea="False">
<telerik:RadSplitContainer x:Name="radSplitContainer">
<telerik:RadPaneGroup x:Name="radGroup">
<telerik:RadPane x:Name="radPane1" Header="Test" ContextMenuTemplate="{x:Null}" CanUserClose="False" CanFloat="False" Cursor="Hand">
<Grid>
<DockPanel LastChildFill="True">
<telerik:RadTreeView x:Name="radTreeView" DockPanel.Dock="Left" Background="#FF525152" VirtualizingPanel.IsVirtualizing="True">
<telerik:RadTreeView.Resources>
<Style TargetType="{x:Type telerik:RadTreeViewItem}">
<Setter Property="Template" Value="{StaticResource RadTreeViewItemControlTemplate1}" />
</Style>
</telerik:RadTreeView.Resources>
</telerik:RadTreeView>
</DockPanel>
</Grid>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</DockPanel>
After using the Radpane, the selected item is not having the style applied. If RadTreeView alone is used (without having radpane), the selected item in the radtreeview is having the style SelectionUnfocusedVisual which is working properly (i.e), Selected Item gets Highlighted. How to make the selected item in the radtreeview to have a style applied (or) to highlight the radtreeview selected item when a radpane is used?. Thanks.
Evgenia
Telerik team
 answered on 01 Apr 2014
3 answers
207 views
Hello,

I was reading this help: http://www.telerik.com/help/wpf/radtimeline-howto-expand-collapse-groups.html, I am looking a way to expand and collapse groups programatically.
In my demo project I have several groups and I would like that when I expand a group the other groups must be collapsed, is there an event when a group is expanded so I can collapse the other groups?

If possible could you provide a sample project?

Thanks in advance,

Alberto
Boris
Telerik team
 answered on 01 Apr 2014
11 answers
105 views
I'm using RadDataFilter in Bound mode.
I have a bunch of objects in the Source list that I'd like to filter that are of different types. They're all derived from a base class. The dropdown in the filter only shows the properties in the base class. Is there a way to make the dropdown show all properties that have a [Display] attribute on them, even though they are in different derived classes?

For example, if I derive class Manager from your Employee class and add a new property bool HasCar to Manager with the [Display] attribute, I'd like that property to also be available for filtering. Any non-employees (objects that don't have that property) should be ignored (i.e. always culled out). Is this possible? Or do I need to go to Unbound mode and write all the filtering code myself?

- Lutz
Dimitrina
Telerik team
 answered on 01 Apr 2014
5 answers
150 views
Hello all,

I've encountered an undefined behaviour of CollectioEditor with 2014 Q1 and previous.
My data have 2 levels of nesting: Client -> List<Contracts> -> List<Option>.
Also I use custom template for CollectionEditor to set some properties of RadPropertyGrid for editing List<Option> (dimensions + visibilty).

How to reproduce the problem:
1. Use CollectionEditor for "Contracts" and add new Contract twice.
2. Select second Contract.
3. Use CollectionEditor for "Options" and add new Option.
4. Select first Contract
5. Select second Contract
6. Open CollectionEditor for "Options" ... ooops.. no option presents!

Problem occur even if I use original template from assembly.

The test project can be found here.

Best regards,
Zber

Yordanka
Telerik team
 answered on 01 Apr 2014
1 answer
101 views
Hello,

I am pretty new to WPF and Telerik and have a question about data binding.

My business object is a COM object as root of a tree of further COM objects (parent-child hierarchy (any depth)).

How would I bind ideally this data structure to a TreeListView control without duplicating any data with best performance? The columns of the TreeListView control need to be created at runtime based on some XML customization file. Each column displays a particular attribute of the COM object.

My current solution uses a binding via a value converter where I retrieve the correct data (parameter passed to the value converter) from my COM object. It works OK, but has many drawbacks: No out-of-the-box support for sorting, filtering, ... performance could be better ...

Any help on the best way to implement a binding with good performance without duplicating data is very much appreciated.

Thanks,
Markus
Dimitrina
Telerik team
 answered on 01 Apr 2014
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?