Telerik Forums
UI for WPF Forum
1 answer
181 views
Hi,

I am currently evaluating your WPF controls. I use VS 2010 and installed the controls using TelerikUltimateCollectionSetup_2012_1_214.exe

In the Visual Studio toolbox, the controls are from the default binaries, but I want the NoXaml binaries in the toolbox instead. The Toolbox Configurator doesn't seem to be able to do this. So how should I do?

Andrey
Telerik team
 answered on 28 Jun 2012
5 answers
224 views
Hi,

I'm using RadControl Q3 2011 to build a ScheduleView in WPF application. I plan to use MonthViewDefinition (and I had created a custom  BiWeeklyViewDefinition extending MonthViewDefinition that shows current two weeks) to show the appointment data.
One of the requirement is that the ScheduleView should be able to show alternative background color of the dates across months (i.e. showing Blue color for all dates in Dec and Green color for all dates in Jan).
I know that using "TimeRulerItemStyleSelector" should be able to achieve that by building a custom selector extending OrientedTimeRulerItemStyleSelector. However, I found that I even cannot change the background color of ScheduleView in WPF by simply using OrientedTimeRulerItemStyleSelector with Style specifying:

 

 

 

 

<telerik:OrientedTimeRulerItemStyleSelector x:Key="TimeRulerItemStyleSelector">        
        <telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle>
            <Style TargetType="telerik:TimeRulerItem">
                <Setter Property="Background" Value="Blue" />                
            </Style>
        </telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle>        
    </telerik:OrientedTimeRulerItemStyleSelector>

 

 

 

The XAML of ScheduleView:

<telerik:RadScheduleView Grid.Row="0" Name="RSV" AppointmentsSource="{Binding Appointments}" VisibleRangeChanged="RSV_VisibleRangeChanged" Loaded="RSV_Loaded"
                                     TimeRulerItemStyleSelector="{StaticResource ResourceKey=TimeRulerItemStyleSelector}">
                <telerik:RadScheduleView.ViewDefinitions>                                       
                    <bo_calendar:BiWeeklyViewDefinition CalendarWeekRule="FirstFullWeek" FirstDayOfWeek="Monday" />
                    <telerik:MonthViewDefinition CalendarWeekRule="FirstFullWeek" FirstDayOfWeek="Monday" />
                </telerik:RadScheduleView.ViewDefinitions>                
            </telerik:RadScheduleView>

Any idea?

Thanks a lot!

Frankie

Dani
Telerik team
 answered on 28 Jun 2012
6 answers
632 views
Hi,
Can you make me an example for a confirm window that have biger buttons and without the header and the close button?
Thanks!

Dani
Telerik team
 answered on 28 Jun 2012
3 answers
278 views
How can I change the theme of the RadRichTextBoxRibbonUI / DocumentRuler / RadRichTextBox to one of the telerik themes
(Windows 7, Office Blue, Office Black, Summer, Vista, Expr.Dark...) ?

Boby
Telerik team
 answered on 28 Jun 2012
1 answer
135 views
Hello,

When I add dependencies after the gannt chart has been created, the arrows don't show up on the gantt chart.  How do I refresh the chart so that they are visible?
Thanks,
Eric
Ventzi
Telerik team
 answered on 28 Jun 2012
1 answer
235 views
I define a custom style for RadComboBoxItem, i want to change HighlightVisual, so i change the controltemplate.
It's works, but when i specify the DisplayMemberPath in my comboBox, the toString() property is used but not the DisplayMemberPath.
Thanks.

<Style x:Key="RadComboBoxItemStyle"
           TargetType="{x:Type telerik:RadComboBoxItem}">
        <Setter Property="MinHeight"
                Value="19" />
        <Setter Property="Margin"
                Value="0,-1,0,0" />
        <Setter Property="BorderThickness"
                Value="1" />
        <Setter Property="BorderBrush"
                Value="Transparent" />
        <Setter Property="Background"
                Value="Transparent" />
        <Setter Property="Padding"
                Value="3,2" />
        <Setter Property="HorizontalContentAlignment"
                Value="Stretch" />
        <Setter Property="VerticalContentAlignment"
                Value="Center" />
        <Setter Property="FocusVisualStyle"
                Value="{x:Null}" />       
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type telerik:RadComboBoxItem}">
                    <Border BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal" />
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"
                                                                       Storyboard.TargetName="HighlightVisual">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity"
                                                                       Storyboard.TargetName="Content">
                                            <DiscreteDoubleKeyFrame KeyTime="0"
                                                                    Value="0.33" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Grid>
                            <Border x:Name="HighlightVisual"
                                    BorderBrush="{StaticResource ControlFocusedBrush}"
                                    BorderThickness="1"
                                    CornerRadius="0"
                                    Visibility="Collapsed">
                                <Border.Background>
                                    <LinearGradientBrush EndPoint="0.5,1"
                                                         StartPoint="0.5,0">
                                        <GradientStop Color="#FFFFFBDA"
                                                      Offset="0" />
                                        <GradientStop Color="#FFFFFBA3"
                                                      Offset="1" />
                                    </LinearGradientBrush>
                                </Border.Background>
                                <Border BorderBrush="White"
                                        BorderThickness="1"
                                        CornerRadius="0" />
                            </Border>
                            <ContentPresenter x:Name="Content"
                                              ContentTemplate="{TemplateBinding ContentTemplate}"
                                              Content="{TemplateBinding Content}"
                                              ContentStringFormat="{TemplateBinding ContentStringFormat}"
                                              HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                                              Margin="{TemplateBinding Padding}"
                                              VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>


Vladi
Telerik team
 answered on 28 Jun 2012
6 answers
168 views

Hello

Is there option add new rows by default

 When the users get to the end of the row Like in SQL?

Best regards

Ehud

Dimitrina
Telerik team
 answered on 28 Jun 2012
3 answers
163 views
I just installed Q2 2012 and now the diagram doesnt save the background of the shapes. 
The background was properly saved in the previous version. I have included the diagram config and the 
output file. the docs say Background is automatically saved but I am not getting it. I tried using the 
serialize/deserialize methods but that just gives me a blank background for the shapes. 
How can I get the background

<tk:RadDiagram x:Name="diagram" HorizontalAlignment="Stretch" BorderThickness="0" Margin="5,2,2,2"
		tk:DiagramSurface.IsVirtualizing="True" AllowCopy="False" IsPanEnabled="False" IsZoomEnabled="False" IsEditable="False"
                AllowCut="False" AllowDelete="False" AllowPaste="False" IsConnectorsManipulationEnabled="False" IsBackgroundSurfaceVisible="False"
                Loaded="diagram_Loaded" SizeChanged="diagram_SizeChanged" ShapeSerialized="diagram_ShapeSerialized" ShapeDeserialized="diagram_ShapeDeserialized"
                Drag="diagram_Drag" Resize="diagram_Resize" Rotate="diagram_Rotate" ShapeClicked="diagram_ShapeClicked" >
</tk:RadDiagram>


<?xml version="1.0" encoding="utf-8"?>
<RadDiagram Type="Telerik.Windows.Diagrams.Core.IGraphInternal" Version="2012.2">
<Metadata Type="Telerik.Windows.Controls.RadDiagram" Id="9ca231cc-84d5-4729-ac75-6bf52c99cf99" BackgroundImage="C:\hal\Acclima\code\IrrigMgr\Map_346516.jpg" Zoom="1" Position="0;0" IsRotationEnabled="true" IsResizingEnabled="true" IsManipulationAdornerVisible="true" SelectionMode="Extended" IsSnapEnabled="true" SnapX="20" SnapY="20" IsBackgroundSurfaceVisible="false" IsEditable="false" IsDraggingEnabled="true" IsPanEnabled="false" IsZoomEnabled="false" IsConnectorsManipulationEnabled="false" AllowDelete="false" AllowCut="false" AllowCopy="false" AllowPaste="false">
<Title>Diagram [6/20/2012 7:15:55 PM]</Title>
<Description/>
<Background>#FFFFFFFF</Background>
</Metadata>
<Groups />
<Shapes QNs="Telerik.Windows.Controls.Diagrams, Version=2012.2.607.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7;">
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="65a360f7-d29d-4249-a31e-2bdfbaa9314b" ZIndex="1" Position="140;300" Content="1" Size="50;50" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z" QN="0" Tag="zone" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="ed57edca-df4f-45b7-9ed0-623f1eafa076" ZIndex="1" Position="320;350" Content="2" Size="50;50" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z" QN="0" Tag="zone" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="f8f09e12-11c8-4a9a-9abc-a6c623b7901d" ZIndex="1" Position="780;350" Content="3" Size="50;50" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z" QN="0" Tag="zone" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="85f55681-3a7e-452e-a8cf-984d724a5309" ZIndex="1" Position="680;160" Content="1" Size="35;35" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M111.5,37.5C111.5,57.91 86.67,74.5 56,74.5 25.33,74.5 0.5,57.91 0.5,37.5 0.5,17.09 25.33,0.5 56,0.5 86.67,0.5 111.5,17.09 111.5,37.5z" QN="0" Tag="device" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="b6dc0f75-efb2-4ce5-a196-0094494e86f2" ZIndex="1" Position="620;315" Content="5" Size="35;35" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M111.5,37.5C111.5,57.91 86.67,74.5 56,74.5 25.33,74.5 0.5,57.91 0.5,37.5 0.5,17.09 25.33,0.5 56,0.5 86.67,0.5 111.5,17.09 111.5,37.5z" QN="0" Tag="device" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="c2387d2e-4851-4a06-914d-894206908a7f" ZIndex="1" Position="180;140" Content="10" Size="35;35" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M111.5,37.5C111.5,57.91 86.67,74.5 56,74.5 25.33,74.5 0.5,57.91 0.5,37.5 0.5,17.09 25.33,0.5 56,0.5 86.67,0.5 111.5,17.09 111.5,37.5z" QN="0" Tag="device" Opacity="0.85" />
<RadDiagramShape Type="Telerik.Windows.Controls.RadDiagramShape" Id="f727cafc-5f14-46e4-9a79-84bfcd704130" ZIndex="1" Position="285;220" Content="7" Size="35;35" RotationAngle="0" Connectors="Auto:0.5;0.5,Left:0;0.5,Top:0.5;0,Right:1;0.5,Bottom:0.5;1," Geometry="M111.5,37.5C111.5,57.91 86.67,74.5 56,74.5 25.33,74.5 0.5,57.91 0.5,37.5 0.5,17.09 25.33,0.5 56,0.5 86.67,0.5 111.5,17.09 111.5,37.5z" QN="0" Tag="device" Opacity="0.85" />
</Shapes>
<Connections />
</RadDiagram>
Alex Fidanov
Telerik team
 answered on 28 Jun 2012
1 answer
68 views
Is UI Virtualization possible in RadRibbonGallery?
Thanks
Deepak
Viktor Tsvetkov
Telerik team
 answered on 28 Jun 2012
1 answer
50 views
Hi,

My company is using a RadScheduleView in one of our products, but we have come across a weird issue with the calendar.
It gets into a state where the days will repeat themselves diagonally and each time you select a day it selects all of the days with the same date. Is there any insight that you can provide to fix it or is it a problem with the control itself?

Thank you,
Eric
Yana
Telerik team
 answered on 28 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?