Telerik Forums
UI for WPF Forum
3 answers
142 views

I have an app used for Dispatch Scheduling.

The scheduler is used by dispatchers to assign appointments for technicians. So in my scheduler, they are grouped by technicians and used the GroupHeaderContentTemplateSelector for my templates whether it be Horizontal or Vertical view.

Most of the time they have lots of technicians in their view. To find one technician, you have to scroll to the left or right or up or down depending on the orientation. 

The task is to provide a way for dispatchers to easily locate the technician by let's say right clicking the scheduler and click Go To ... specific technician. 

It should scroll  to that technician in view.

I have seen an implementation for ScrollViewer where you specify the desired position using the ScrollToHorizontalOffset or ScrollToVerticalOffset. What is the best way to locate a specific technician in my case within the grouping as my parameter? Or any implementation that would help implement the requirement would be great.

 

A sample code is very much appreciated.

 

Thanks!

 

Oksana
Top achievements
Rank 1
Iron
 answered on 14 Sep 2015
1 answer
86 views

I'm using a RadSemicircleNorthGauge and with NumericIndicator.Positions using the telerik:SevenSegsNumberPosition for a digital display inside the gauge.

It is working but I'm getting these kinds of warnings in debug output:

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'

 Any help is appreciated.

 ​

Sia
Telerik team
 answered on 14 Sep 2015
10 answers
612 views

Hallo, I have to use ListCollectionView as an ItemsSource for RadListBox and at the same time I have to pass SelectedItems down to my ViewModel. I was trying to use new ListBoxSelectedItemsBehavior.SelectedItemsSource  which is working flawlessly for ObservableCollection<T> as ItemsSource but not at all when using ListCollectionView or CollectionViewSource.

I have modified a sample from github, simply I've added two more collections for SelectedItems and new ListCollectionView and CollectionViewSource with some simple filters as ItemsSource for additional RadListBoxes. Binding directly to SelectedItems works, but in some cases ElementName binding does not work so to have other approach is ​always good.

Attached screenshot is from modified sample and as you can see, SelectedItems from additional listboxes contains only items manually added in constructor and not reflecting changes in selection made in associated control.

I suspect that this is because neither ListCollectionView nor CollectionViewSource is strongly typed collection and CollectionTypeComparerHelper is not detecting that they hold same type as binded SelectedItemsSource collection.

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
364 views

Hello,

I have a RadTreeView which I need to display inside a combobox and also to be able to sort/filter through it. I can't seem to make it work using your examples from here

http://www.telerik.com/blogs/treeview-in-a-combobox-dropdown-using-radcontrols-for-silverlight and here

http://www.telerik.com/blogs/treeview-in-combobox-take-3-silverlight-3-wpf-and-radcontrols . (they don't seem to work/compile either)

What I did manage was to partly replicate the behaviour I wanted using your Rad​DropDownButton tutorial provided here: http://www.telerik.com/blogs/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take

Problem is I really need it to be sortable the way ComboBox is. Can you show me an updated example I can use to make this work?

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
43 views

I set specific cell background in grid click. But on grid scroll it set
back to default. I perefer not to use EnableRowVirtualization as False.
This is My Code:

<telerik:RadGridView ItemsSource="{Binding PersonList}" Name="grid"
Height="200" PreviewMouseUp="grid_PreviewMouseUp" >

private void grid_PreviewMouseUp(object sender, MouseButtonEventArgs e)
{
    var cell = (sender as RadGridView).CurrentCell;
    cell.Background = Brushes.Aqua;
}

 

Thank​

Ivan Ivanov
Telerik team
 answered on 14 Sep 2015
4 answers
348 views

Hi All

By any chance that I could add a new custom color in to standard color palette please ? 

 I am using RadColorPicker

Thanks in advance
Petar Mladenov
Telerik team
 answered on 14 Sep 2015
1 answer
171 views

In our product we have some buttons in the RadTabControl.AdditionalContent.

These buttons can not be found by UI automation tool, also checking with Inspect.Objects these button and the AdditionalContent are not found.

Is this supported by Telerik or do we do something wrong.

We are running on Windows 7, using telerik WPF version Wpf.40.2014.2.0729.

 Snapshot of the code:

           <telerik:RadTabControl.AdditionalContent >
                <StackPanel Grid.Row="2" Margin="10,2" Orientation="Horizontal" HorizontalAlignment="Right">

                    <!-- Help -->
                    <Button Name="btnHelp" 
                            HorizontalAlignment="Right" 
                            VerticalAlignment="Top" 
                            Margin="0,0,10,0"
                            Command="{Binding Path=ShowHelpCommand}" 
                            Style="{StaticResource HelpButtonStyle}" 
                            Visibility="{Binding HelpButtonVisibility}"
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Help/@Header}" />

                    <!-- Logout -->
                    <Button Name="btnLogout"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Top"
                            Margin="0,0,0,0"
                            Command="{Binding Path=LogoutCommand}" 
                            Style="{StaticResource LogOutButtonStyle}" 
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Logout/@Header}" />

                </StackPanel>
            </telerik:RadTabControl.AdditionalContent>​

 

 

 

Peshito
Telerik team
 answered on 12 Sep 2015
3 answers
469 views

Hi, i'm trying to make application similar to ms.visio. I'm using RadDocking and make two RadPaneGroup in leftside and rightside. the leftside is for the list of drag&drop elements like shape,image or anything. the rightside is for the layout and i can save the layout.

the leftside is like an icon with text and when we drag it, it will show the original image/shape.

what is the best way to do that? is using RadDocking good enough? any specific controls or feature that can be used? 

Thanks,

Mirza

 

Nasko
Telerik team
 answered on 11 Sep 2015
1 answer
73 views

Hi,

why can't i use RadDiagramToolbox? RadDiagram is fine, but everytime i use RadDiagramToolbox, there is an error message 'System.Windows.Media.Animation.DoubleAnimation' animation object cannot be used to animate property 'RenderTransform' because it is of incompatible type 'System.Windows.Media.Transform'.

i'm using VS2010 and free trial Telerik

Regards,

Mirza


Martin Ivanov
Telerik team
 answered on 11 Sep 2015
3 answers
232 views

Hi,

I want to generate TreeListView Columns dynamically and populate them with data.

 Regards

Stefan
Telerik team
 answered on 11 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?