Telerik Forums
UI for WPF Forum
4 answers
349 views
Hi,
how can I trigger the ChartTrackBallBehavior programmatically?
In my scenario I set the chart IsManipulationEnabled to True. Since this I don't get the TrackBallInfo when I touch the chart. Is there a way to get around this?

Cheers,
Enrico
MikeWiese
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
148 views
I have a collection of ScanSessions, each of which contains a collection of Waypoints. I have a RadGridView for displaying a list of the ScanSessions and I have another RadGridView for displaying the list of Waypoints in the selected ScanSession. I am also trying to write the XAML to create a RadMap InformationLayer that displays all the Waypoints for all the ScanSessions on a map. The reason for this is to make it easy to indicate on the map which Waypoint is selected in the grid view and vice versa.

I tried to do this by nesting one InformationLayer inside another as seen in the following XAML:

<UserControl.Resources>
    <local:LocationToTelerikConverter x:Key="LocationToTelerikConverter"/>
    <local:LocationCollectionToTelerikLocationCollectionConverter x:Key="LocationCollectionToTelerikLocationCollectionConverter"/>
 
      <SolidColorBrush x:Key="ControlSubtleForegroundBrush" Color="#004100"/>
 
    <DataTemplate x:Key="MapWaypointsTemplate">
        <Grid Tag="{Binding}" telerik:MapLayer.Location="{Binding Path=Location, Converter={StaticResource LocationToTelerikConverter}}">
            <telerik:MapLayer.HotSpot>
                <telerik:HotSpot ElementName="WaypointEllipse" X="0.5" Y="0.5" XUnits="Fraction" YUnits="Fraction"/>
            </telerik:MapLayer.HotSpot>
            <Ellipse x:Name="WaypointEllipse" Width="20" Height="20" Fill="Blue"/>
        </Grid>
    </DataTemplate>
</UserControl.Resources>
 
<Grid Background="Black">
    <telerik:RadMap x:Name="map" Background="Transparent" UseSpringAnimations="False" DistanceUnit="Kilometer" MouseClickMode="None"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                UseDefaultLayout="False" MaxZoomLevel="24" MinZoomLevel="1" ZoomLevel="1"
                MapMouseClick="OnMapMouseClick" CenterChanged="OnMapCenterChanged" ZoomChanged="OnMapZoomChanged" InitializeCompleted="OnMapInitializeCompleted" PreviewMouseMove="OnMapPreviewMouseMove"
        >
        <telerik:RadMap.Providers>
            <telerik:EmptyProvider/>
            <!-- Provider set programmatically. -->
        </telerik:RadMap.Providers>
 
        <telerik:InformationLayer x:Name="scanSessionSnailTrailLayer" ItemsSource="{Binding ElementName=_this, Path=ScanSessions}">
            <telerik:InformationLayer.ItemTemplate>
                <DataTemplate>
                    <telerik:MapPolyline Stroke="Blue" StrokeThickness="2" Points="{Binding Path=WaypointLocations, Converter={StaticResource LocationCollectionToTelerikLocationCollectionConverter}}"/>
                </DataTemplate>
            </telerik:InformationLayer.ItemTemplate>
        </telerik:InformationLayer>
 
        <telerik:InformationLayer x:Name="scanSessionWaypointsOuter" ItemsSource="{Binding ElementName=_this, Path=ScanSessions}">
            <telerik:InformationLayer.ItemTemplate>
                <DataTemplate>
                    <telerik:InformationLayer x:Name="scanSessionWayPointsInner" ItemsSource="{Binding Path=Waypoints}" ItemTemplate="{StaticResource MapWaypointsTemplate}"/>
                </DataTemplate>
            </telerik:InformationLayer.ItemTemplate>
        </telerik:InformationLayer>
    </telerik:RadMap>
</Grid>

The problem is that none of the Waypoint ellipses are displayed. I have also tried replacing both the outer and inner InformationLayer elements with simple ItemsControl elements, with no success.

Note that the InformationLayer named scanSessionSnailTrailLayer works just fine.

Does anybody have an idea how to get my nested InformationLayers to work?

Thanks,

-- john
Andrey
Telerik team
 answered on 29 Jun 2012
4 answers
285 views
When you double click on an email in Outlook, it open a floating window for the email, and the floating email contains its own Ribbon bar and also it shows in the windows taskbar.  Could you provide suggestions how can we implement the behavior with RadControls?

We are using RadControl for WPF 2012.2.0607.40 with Prism (MVVM).  The layout of our application is very similar to Outlook, and the main window is RadRibbonWindow, which contains a RadRibbonView, and a RadDocking is within the RadRibbonView. and, of course, RadDocking.DocumentHost host all documents.  We would like each document has its own RibbonView IF THE DOCUMENT IS FLOATING, also we would like all floating ToolWidnows show in Window TaskBar.

Thanks.
Ivo
Telerik team
 answered on 29 Jun 2012
10 answers
498 views
Hi there,

Does anyone know how to go about creating mouse over effects for custom annotations?
For example, if I "mouse over" between a custom annotation range I may want the font colour, or font size to change or to even highlight the annotation. Going even further, maybe have some way to activate a little popup window which in turn may display more detailed information about the annotation properties (I guess that's similar to the Comments Annotations feature).

Any information would be really handy.

Thanks for your time,

Rob
Alex
Telerik team
 answered on 29 Jun 2012
1 answer
116 views
Is it possible to set a cell's style based on the content of another cell in that row?

For example: 
If CellA = 0 then CellB.Background = Red
If CellA = 1 then CellB.Background = White

If this is possible, can you please post a sample project that accomplishes this?

Thank you very much.
Dimitrina
Telerik team
 answered on 29 Jun 2012
4 answers
245 views
Hi,
I have enabled the drag and drop feature in Rad Tree View, but it is causing some distortion in the view after an item is been dragged and dropped to the new position.
Item is added to the new position but not been deleted from the orginal old position in the view.

Please find the attached screen, to view the result what I'm getting after drag and drop.

Please help me on this as soon as possible.

Thanks in advance.
Koti
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
166 views
Hello,

I need to localize the texts on a HighlightColorPicker inisde a ToolBar.

I've successfully Localized the associated RichTextBox through a resource file, but I can't find the keys for the HighlightColorPicker or an alternative way to localize the texts "Automatic", "Theme Colors" and "Standard colors".

Can you provide me the keys, or other way to translate it?

Thanks in advance
Vasil
Telerik team
 answered on 28 Jun 2012
1 answer
182 views
Hello,

is there a way to hide the selector slider control.  I still would like it to function (ie when I click on the timebar I war to be able to know I've clicked there), I just don't want to see it, or allow the user to move it.

Thanks,
Eric
Sia
Telerik team
 answered on 28 Jun 2012
1 answer
199 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
244 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
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?