Telerik Forums
UI for WPF Forum
12 answers
328 views
I couldn't find a better place to put this request or opinion...
I would also like to see the ganttview work with the different themes as I am finding it is the one control in our entire application that you can't read and looks out of place if the user select certain themes, especially expression_dark.

It would be really nice if you could simply
StyleManager.ApplicationTheme = (Theme)themeUserSelected;
InitializeComponent();
and have the ganttview match the rest of the application without having to use downloaded resource dictionaries or workarounds.
Guru
Top achievements
Rank 2
 answered on 06 Jul 2012
2 answers
116 views
I would like the TreeListView to display a vector image for each Item state instead of a graphics file (png/jpg) and use for example, this path as defined in the Xaml.

Is that possible?
<Window.Resources>
   <Path x:Key="MyVectorImage" 
              x:Shared="False"
              Stroke="DarkGoldenRod"
              StrokeThickness="3"
              Data="M 10,20 C 10,25 40,35 40,17 H 28"
              Stretch="Fill"
              Width="100"
              Height="40"/>
</Window.Resources>

OmegaMan
Top achievements
Rank 1
 answered on 06 Jul 2012
1 answer
118 views
Hi,

Is anyone else experiencing issues with the telerik docking floating window when using a Microsoft Touch Mouse?

For some reason, when I use the two finger gesture to expand a docking floating window the window disappears off of the screen. I am then unable to retrieve the window as it is nowhere to be seen or accessed.

http://www.microsoft.com/hardware/en-gb/p/touch-mouse#details

Thanks,

Rob
Yana
Telerik team
 answered on 06 Jul 2012
4 answers
297 views
I am trying to localize the column headers using the following code for each of the column in the parent and the child gridviews in a hierarchical view.

<telerik:GridViewColumn.Header>
            <TextBlock Text="JudgementCode" telerik:LocalizationManager.ResourceKey="JudgementCode"></TextBlock>
  </telerik:GridViewColumn.Header>

This works fine for the main grid, but when I expand a row to see its child gridview, the child table column headers are not localized.

Is there something different I need to be doing for hierarchical gridveiw.
asp.net
Top achievements
Rank 1
 answered on 06 Jul 2012
5 answers
422 views
Hi!

I've a Scheduler view, which has custom appointments.

I need to have some of these appointment that aren't drag&dropable, depending of a value of one resource of the appointment.

My question is:
On which property of the xaml(in the datatemplate?) can I bind a value which indicate if the current appointment is drag&dropable?
OR
Is there a event in which I enter when I try to do the drag&drop? Where I can cancel if I want the change?

Thank you
Yana
Telerik team
 answered on 06 Jul 2012
9 answers
220 views
Hello ,
I am trying to  bind my rad chart title to a string in view model.

 

 

<telerik:ChartDefaultView.ChartTitle>

 

 

<telerik:ChartTitle Content= "{Binding RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type views:PlotView}},Path=DataContext.ChartTitle}" HorizontalAlignment="Center"/>

 

 

</telerik:ChartDefaultView.ChartTitle>


But it is not getting binded niether i am getting any error.
Please help.....
Yavor
Telerik team
 answered on 06 Jul 2012
9 answers
430 views
I am using MVVM and would like to move the event handling out of the view. I am trying to handle the PageIndexChanged event of the RadDataPager by using a custom binding. The handler sets the ItemsSource of a RadGridView and the ItemCount of the pager (i.e. I am doing the paging myself). To set it up I use a style:

    <Window.Resources>
        <Style TargetType="{x:Type telerik:RadDataPager}"
               x:Key="indexChangedStyle">
            <Setter Property="local:PageIndexChangedBehavior.SetPageIndexChanged"
                    Value="True" />
        </Style>
    </Window.Resources>

        <telerik:RadDataPager x:Name="dataPager"
                              Grid.Row="1"
                              DisplayMode="All"
                              PageSize="10"
                              Style="{StaticResource indexChangedStyle}">

In the custom behavior I do this:
        public static readonly DependencyProperty SetPageIndexChangedProperty =
            DependencyProperty.RegisterAttached(
            "SetPageIndexChanged",
            typeof(bool),
            typeof(PageIndexChangedBehavior),
            new UIPropertyMetadata(true, OnSetPageIndexChanged));

        private static void OnSetPageIndexChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            RadDataPager pager = obj as RadDataPager;
            if (pager == null)
                return;

            if (e.NewValue is bool == false)
                return;

            if ((bool)e.NewValue)
                pager.PageIndexChanged += pager_PageIndexChanged;
            else
                pager.PageIndexChanged -= pager_PageIndexChanged;
        }

OnSetPageIndexChanged() never gets called. Will this methodology work? Is there a better way?

Thanks.

Andrea
Ivan Ivanov
Telerik team
 answered on 06 Jul 2012
2 answers
571 views
I'm having an issue getting a RadProgressBar to databind in a DataTemplate of a GridViewData Column. Here is my code:

<telerik:RadGridView Name="radGridView1"
                     Canvas.Left="48"
                     Canvas.Top="48"
                     telerik:StyleManager.Theme="Transparent"
                     ShowGroupPanel="False"
                     AutoGenerateColumns="False"
                     ItemsSource="{Binding}"
                     IsFilteringAllowed="False"
                     CanUserSelect="False"
                     RowIndicatorVisibility="Collapsed"
                     RowStyle="{DynamicResource GridViewRowStyle1}"
                     HeaderRowStyle="{DynamicResource GridViewHeaderRowStyle1}">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Width="300"
                                    DataMemberBinding="{Binding Path=TSE, Converter={StaticResource TSEconverter}}"
                                    Header="TSE"
                                    CellStyle="{StaticResource GridViewCellStyle1}"
                                    HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}" />
        <telerik:GridViewDataColumn Width="100"
                                    DataMemberBinding="{Binding Path=My_Count}"
                                    Header="Count"
                                    CellStyle="{StaticResource GridViewCellStyle1}"
                                    HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"
                                    TextAlignment="Center"
                                    HeaderTextAlignment="Center" />
        <telerik:GridViewDataColumn Width="150"
                                    DataMemberBinding="{Binding Path=My_Percent_Double, Mode=OneWay}"
                                    Header="Status"
                                    CellStyle="{StaticResource GridViewCellStyle1}"
                                    HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"
                                    TextAlignment="Center"
                                    HeaderTextAlignment="Center">
                <telerik:GridViewDataColumn.CellTemplate>
                    <DataTemplate>
                            <telerik:RadProgressBar Name="PercentBar"
                                                    Orientation="Horizontal"
                                                    Margin="0"
                                                    Height="24"
                                                    Style="{StaticResource statusBar}"
                                                    Value="{Binding Path=My_Percent_Double, Mode=OneWay}" />
                    </DataTemplate>
                </telerik:GridViewDataColumn.CellTemplate>
            </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn Width="100"
                                    DataMemberBinding="{Binding Path=My_Status}"
                                    Header="2pd"
                                    CellStyle="{StaticResource GridViewCellStyle1}"
                                    HeaderCellStyle="{StaticResource GridViewHeaderCellStyle1}"
                                    TextAlignment="Center"
                                    HeaderTextAlignment="Center" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

I can see the progress bar on project run, but no values are present (zero bars). What am I doing wrong?
Tingting
Top achievements
Rank 1
 answered on 06 Jul 2012
3 answers
157 views
Hello,

Is it possible to show collection items on the same grid instead of a separate custom editor ? I mean like this:

Name
Players
    [0] Player 1
             Player1 property1
             Player1 property 2
             ...
    [1] Player 2
             Player2 property1
             Player2 property 2
             ...
TeamColor
SomeOtherProperty

Dimitrina
Telerik team
 answered on 06 Jul 2012
1 answer
136 views
I posted this in TimePicker forum but that forum seems to get less attention so cross posting here.

It appears the default behavior when selecting a time is by mouse click only. Can I select via enter key?  
I have the following requirement:

- the time picker control shall enable selection of time by pressing Enter key

Before I start intercepting key press events etc., I just want to make sure there are not setter properties I could be unaware of which would enable this behavior. 


http://www.telerik.com/community/forums/wpf/timepicker/directional-navigation-selection.aspx#2170625 

Ivo
Telerik team
 answered on 06 Jul 2012
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?