Telerik Forums
UI for WPF Forum
8 answers
205 views
Hi,

I have an application that is full screen (it covers the taskbar) with a RadDocking as main layout. When I maximize a floating pane, it doesn't fill the screen, there is a gap that would have been filled by the taskbar.

I reproduced it with the demo project :
- Set WindowStyle="None" in Shell.xaml
- Go to the RadDocking demo
- Maximize a floating pane

Is there a way to prevent that behavior ?

Thank you!

Etienne
George
Telerik team
 answered on 23 Mar 2015
9 answers
632 views
Hello,
I need to set spreadsheet control or cell to read only .
Is it possible to protect sheet or cell editor for some cell or in a whole spreadsheet?

Thanks
Anna
Telerik team
 answered on 23 Mar 2015
1 answer
194 views
I have gridView with checkbox column(IsActive) that binded to bool property(IsDeleted) and converter that show the inverted value  . When I try to show all active items ,it show inactive items and opposite .
When I check (IsActive=true)  ,  FilterDescriptors show (IsDeleted=true) and that is wrong it should be inverted
When I uncheck (IsActive=false)  ,  FilterDescriptors show (IsDeleted=false) and that is wrong it should be inverted too

So how can I handle it !?



Regards,
Mohammed Thabet
Dimitrina
Telerik team
 answered on 23 Mar 2015
1 answer
421 views
Hi,

in my project I have a ChartView with up to 5 different LineSeries (loaded dynamically). Now I would like to change the stroke of each LineSeries with the RadColorPicker. Also the LegendItemColor and the AxisColor should change accordingly. Is there a built-in solution for this?

If not can you give me a little hint which would be the best way to implement this functionality.

Thank you very much
KA
Petar Marchev
Telerik team
 answered on 23 Mar 2015
1 answer
138 views
I've added a simply line of Databar control, but when I run the application, an exception id fired:

https://www.dropbox.com/s/8ptw82rm7ui0wth/Screenshot%202015-03-21%2021.28.39.png?dl=0

that the code of xaml:
<Window x:Class="HierarchicalGroupingAndFilteringWithTreeView.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:HierarchicalGroupingAndFilteringWithTreeView"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="MainWindow" WindowState="Maximized">
    <Window.DataContext>
        <local:ViewModel />
    </Window.DataContext>
    <Window.Resources>
        <Style TargetType="telerik:RadTreeViewItem">
            <Setter Property="IsExpanded" Value="True" />
            <Setter Property="Margin" Value="0 2 0 2" />
        </Style>
        <DataTemplate x:Key="Team">
            <Grid>

                <TextBlock Text="{Binding Name}" />
            </Grid>
        </DataTemplate>
        <HierarchicalDataTemplate x:Key="Division" ItemTemplate="{StaticResource Team}" ItemsSource="{Binding Teams}">
            <TextBlock Text="{Binding Name}" />
        </HierarchicalDataTemplate>
        <telerik:GroupHeaderTemplateSelector x:Key="CustomGroupHeaderContentTemplateSelector">
            <telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
                <DataTemplate>
                    <ContentPresenter Content="{Binding FormattedName}" Height="16" Margin="4"/>
                </DataTemplate>
            </telerik:GroupHeaderTemplateSelector.HorizontalTemplate>
            <telerik:GroupHeaderTemplateSelector.VerticalTemplate>
                <DataTemplate>
                    <ContentPresenter Content="" Height="16" VerticalAlignment="Top" />
                </DataTemplate>
            </telerik:GroupHeaderTemplateSelector.VerticalTemplate>
        </telerik:GroupHeaderTemplateSelector>
    </Window.Resources>

    <Grid>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="150" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <telerik:RadDataBar Width="200" Height="30" VerticalAlignment="Top"></telerik:RadDataBar>

        <telerik:RadTreeView Grid.Row="1" ItemsSource="{Binding TreeViewItems}" ItemTemplate="{StaticResource Division}" Margin="-5,78,5,22">
            <telerik:EventToCommandBehavior.EventBindings>
                <telerik:EventBinding EventName="Expanded" Command="{Binding ExpandedCommand}" PassEventArgsToCommand="True" />
                <telerik:EventBinding EventName="Collapsed" Command="{Binding CollapsedCommand}"  PassEventArgsToCommand="True"/>
            </telerik:EventToCommandBehavior.EventBindings>
        </telerik:RadTreeView>
        <telerik:RadScheduleView Grid.Column="1" Grid.Row="1" 
                                 AppointmentsSource="{Binding Appointments}" 
                                 ResourceTypesSource="{Binding ResourceTypes}"
                                 GroupHeaderContentTemplateSelector="{StaticResource CustomGroupHeaderContentTemplateSelector}">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:TimelineViewDefinition GroupFilter="{Binding GroupFilter}"
                                                MinorTickLength="30min" MajorTickLength="30min"  DayStartTime="7:30:00" DayEndTime="17:30:00" VisibleDays="1"  SmallChangeInterval="3d"/>
                <telerik:DayViewDefinition MinorTickLength="30min" MajorTickLength="30min"/>

            </telerik:RadScheduleView.ViewDefinitions>
            <telerik:RadScheduleView.GroupDescriptionsSource>
                <telerik:GroupDescriptionCollection>
                    <telerik:ResourceGroupDescription ResourceType="Common" />
                </telerik:GroupDescriptionCollection>
            </telerik:RadScheduleView.GroupDescriptionsSource>
            <telerik:RadScheduleView.DragDropBehavior>
                <local:ConflictCheckingDragDropBehavior  />
            </telerik:RadScheduleView.DragDropBehavior>
        </telerik:RadScheduleView>
    </Grid>

</Window>


Petar Marchev
Telerik team
 answered on 23 Mar 2015
5 answers
155 views
Hi All,

We have created a sample application with 2013_Q2  Telerik version. Sample application code is as shown below,

======================Source Code=========================
<UserControl x:Class="WpfControlLibrary1.UserControl1"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d">
    <Grid>
        <Grid>
            <telerik:RadBusyIndicator IsBusy="{Binding IsBusy}" Grid.Row="0" AutomationProperties.Name="Testing45" >
                <StackPanel Orientation="Horizontal">
                    <TextBox Text="Hello" Name="Textbox12" Margin="10"/>
                    <Button Name="btn_Sandeep" Content="Display" Margin="10" />
                    <Label Name="lbl_lable" Content="Name" Margin="10"/>

                </StackPanel>
            </telerik:RadBusyIndicator>
        </Grid>
    </Grid>
</UserControl>
======================================================

Here coded we are crated test with CodedUITest. Playback is not working for none of the controls which are defined inside RadBusyIndicatior.

We are struck with this problem, please help us.

Regards,
Rajendar
Georgi
Telerik team
 answered on 23 Mar 2015
7 answers
818 views
Hi,
I have a DataForm with an EditTemplate where I have a multiline TextBox for editing text. I need to be able to insert new lines by pressing the Return Key. But when I do that, the Dataform gets Comitted. How can I prevent the DataForm's Commit Command to fire when users press the Return key inside the TextBox?
Yoan
Telerik team
 answered on 23 Mar 2015
4 answers
341 views
Hello
I would create my own RadComboBox (for adding features) and add a button at right (see capture)
I create a control inherit of RadComboBox :
public class MyComboBox : Telerik.Windows.Controls.RadComboBox
{
 
}
And associate style :
<Style x:Key="MyComboBoxStyle" TargetType="Controls:MyComboBox">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Controls:MyComboBox" >
                    <Grid x:Name="LayoutRoot">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
 
                        <telerik:RadComboBox x:Name="PART_RadComboBox" Grid.Column="0"
                                             ItemsSource="{TemplateBinding ItemsSource}"
                                             SelectedItem="{TemplateBinding SelectedItem}"
                                             SelectedValue="{TemplateBinding SelectedValue}"
                                             DisplayMemberPath="{TemplateBinding DisplayMemberPath}"
                                             SelectedValuePath="{TemplateBinding SelectedValuePath}">
                        </telerik:RadComboBox>
 
                        <telerik:RadButton x:Name="PART_RadButton" Grid.Column="1" Content="+"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
But MyComboBoxStyle is never use, I think RadComboBox always override my style because if I inherit System.Windows.ComboBox it's work.
Can you help me ? Or I must create UserControl and rewrite all DependencyProperty of RadComboBox ? 
Thanks in advance

PS : I use Telerik 2014 Q2.
Olivier
Top achievements
Rank 1
 answered on 23 Mar 2015
1 answer
206 views
Hi

we are using telerik tab control for wpf, with dropdown visible option. but problem is that It trims the items text if we  don't provide a width. or if e provide a width it completely omits one item.
please have a look at attached snapshots

<telerik:RadTabControl
                        Grid.Row="0"
                        DropDownDisplayMode="Visible"
                        ScrollMode="Item"
                        ItemsSource="{Binding Tabs}"
                        IsSynchronizedWithCurrentItem="True"
                        SelectedItem="{Binding SelectedType}"
                        ContentTemplate="{StaticResource AddTabContentTemplate}"
                        ItemTemplate="{StaticResource AddTabTemplate}"
                        Margin="4" />


<DataTemplate x:Key="AddTabTemplate">
           <Label Content="{Binding TypeName}" Width="150" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</DataTemplate>
Martin Ivanov
Telerik team
 answered on 23 Mar 2015
7 answers
285 views
Hello Telerik

is it possible to add dynamical LineSeries to a RadCartesianChart-Control like in the SeriesProvider example from ChartView_WPF sdk project on Github, but each LineSeries with a own VerticalAxis?

Regards Uwe
Martin Ivanov
Telerik team
 answered on 23 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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?