Telerik Forums
UI for WPF Forum
1 answer
97 views
Our application involves the DragAndDrop of items from a Grid (inside a RadOutlookBar) into a RadTreeView. DragAndDrop is also allowed within the RadTreeView. However a certain set of code is executed only when the item is dragged from the Grid and not within the RadTreeView and the only way we can figure out when to execute said code is to find out where the drag is performed from (drag source). Such is the code structure and can't be tweaked much. I was wondering if there was a way to figure the drag source. 
TIA,
Deepika
Pavel R. Pavlov
Telerik team
 answered on 24 Mar 2015
3 answers
87 views
Hi ! 
I am implementing  gridview cell merge with UI For WPF Q1 2014 SP1 in WPF Application.
 
 but  there is no cell merge function in UI For WPF Q1 2014 SP1 version.
 ( there is cell merge function in UI For WPF Q3 2014)
 
 Unfortunately, our telerik product license was expired at last year(2014) in May
 
 Please, What is the solution of  this problem ?
 Could you give me references of gridview cell merge function?
 
I will be waiting your hopeful answer.
Thank you very much.
JUNGGON
Top achievements
Rank 1
 answered on 24 Mar 2015
4 answers
693 views
Hello,

I am using a ToolTip Template to show some information related to the items in a Timeline control.

I'd like to increase the amount of time that a tooltip remains visible, I am using the property ToolTipService.ShowDuration but when I change its value it seems it doesn't have effect on the time that the tooltip remains visible.

Is there a way achieve this?

Thanks,

Alberto
Amige
Top achievements
Rank 1
Veteran
 answered on 23 Mar 2015
8 answers
202 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
627 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
192 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
418 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
131 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
790 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
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?