Telerik Forums
UI for WPF Forum
1 answer
169 views
HI,

I try to use your OrgChart Example from the online help. But there missing some resources to understand the
example . Missing:

Resources.xaml
<ResourceDictionary Source="/Diagrams;component/OrgChart/Resources/Resources.xaml" />

BooleanToVisibilityConverter
 Visibility="{Binding HasChildren, Converter={StaticResource BooleanToVisibilityConverter}}"

Do you have the full example as standalone project?

thanks
best regards
rene
Petar Mladenov
Telerik team
 answered on 20 May 2013
4 answers
141 views
When a list is bound to RadComboxBox, the selected item is showing the type instead of actual value.

<Controls:RadRibbonComboBox x:Name="namesCombo">
            <Controls:RadRibbonComboBox.ItemTemplate>
                <DataTemplate>
                    <Border Background="Transparent">
                        <TextBlock Text="{Binding Name}">
                            <UserControls:TooltipHelper.Tooltip>
                                <ToolTip Template="{StaticResource TextToolTipTemplate}" Content="{Binding Description}"/>
                            </UserControls:TooltipHelper.Tooltip>
                        </TextBlock>
                    </Border>
                </DataTemplate>
            </Controls:RadRibbonComboBox.ItemTemplate>
        </Controls:RadRibbonComboBox>

private void SetWriteableTemplates(bool isUserAdmin)
       {
           if (Templates == null) return;
 
           namesCombo.ItemsSource = Templates.Where(t => isUserAdmin || !t.IsSystem).ToList();
           namesCombo.SelectedIndex = 0;
       }

But the selected item will be the type of the list instead of actual value.

The value for Name wont be displayed in selected value.
for eg : The Name property contains certain values and its type is observable collection. Then the selected value will be displayed as that observablecollection
Rohini
Top achievements
Rank 1
 answered on 20 May 2013
1 answer
275 views
I have multiple InformationLayers inside my RadMap control, each of them showing different MapItems. The objects (MapItems) are bound via ItemsSource.

How can I bringt a MapItem to front?
It seems that there is no ZIndex Property. I managed it by moving an object to the end of the ItemsSource. Is there a better way?

How can I bring a whole InformationLayer to Front?
When moving an object to the end of ItemsSource like said above, it is still covered by MapItems which are part of a "higher" layer. Is there anything like good old "BringToFront()" for InformationLayer?
Andrey
Telerik team
 answered on 18 May 2013
5 answers
99 views
Hi,

I have tried to get the answer to this critical question (for me) but I probably have not stated the question properly.....How do I get a different drop down list in different rows of the same column?  The Below grid example is what i need to do.  The example below is only for descriptive purposes to visually depict what I have not been able to verbally explain.  A simple working example would be greatly appreciated.

Thanks
Rich

Row No Month Column Sales Column
1 Drop Down Combo box 100.00
January
February
March

2 Drop Down Combo box 120.00
April
May
June

3 Drop Down Combo Box  80.00
July
August
September

etc.
Dimitrina
Telerik team
 answered on 18 May 2013
3 answers
112 views
Hello,

I have created a RadTreeViewList using mvvm pattern with a simple class named TreeItem:

public class TreeItem
{
    private string title;
    private ObservableCollection<TreeItem> items;
 
    public string Title
    {
        get { return title; }
        set { title = value; }
    }
 
    public ObservableCollection<TreeItem> Items
    {
        get { return items; }
        set { items = value; }
    }
 
    public TreeItem()
    {
 
    }
 
    public TreeItem(string ptitle)
    {
        this.Title = ptitle;
        this.Items = new ObservableCollection<TreeItem>();
    }
}

I manually create the object hierarchy and binded the control in code. I wanted to style the control as in the provided image, desired.png. However, what I was able to attained is shown in the image, result.png.

I have studied the Style & Templates sections of both RadTreeViewList and RadGridView, but none of those guides "show" what part of the control they affect. If it is possible, please provide an example of how to style each row based on either indent position, or how to augment the data class to accomplish my goal.

Thanks in advance.

Johnny Moreno

Yoan
Telerik team
 answered on 18 May 2013
3 answers
526 views
Hi

I am facing a problem. I want expander on top of every control means wants to set Z Index of expander to max value.

Also I am not able to set the width of expander, it is not showing all the controls. Please find the code and see the attached Image for more understanding.

I am using RadExpander inside RadWindow and not able to see entire content of RadExpander. (see in image)

Also I am attaching one more image with desired functionality. When I click on th Expander, It should open on the left side as in the image "desired layout.jpg".

Please have a look and provide me some solution with an example.

<Grid x:Name="LayoutRoot" Grid.Column="3" Grid.ColumnSpan="2"  Grid.Row="0" Margin="5">
                   <Canvas Panel.ZIndex="99">
                       <telerik:RadExpander x:Name="radExpander" IsExpanded="False" VerticalContentAlignment="Top"
                                telerik:AnimationManager.IsAnimationEnabled="True" Canvas.ZIndex="1" Background="Transparent">
                           <telerik:RadExpander.Header>
                               <TextBlock x:Name="expanderCaption" Text="Header" />
                           </telerik:RadExpander.Header>
                           <telerik:RadExpander.Content>
                               <Border BorderBrush="Black" BorderThickness="1"  Canvas.ZIndex="1" >
                                   <Grid Background="Cornsilk">
                                       <Grid.BitmapEffect>
                                           <DropShadowBitmapEffect />
                                       </Grid.BitmapEffect>
                                       <Grid.RowDefinitions>
                                           <RowDefinition></RowDefinition>
                                           <RowDefinition></RowDefinition>
                                           <RowDefinition></RowDefinition>
                                           <RowDefinition></RowDefinition>
                                           <RowDefinition></RowDefinition>
                                       </Grid.RowDefinitions>
                                       <Grid.ColumnDefinitions>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                           <ColumnDefinition></ColumnDefinition>
                                       </Grid.ColumnDefinitions>
 
                                       <TextBlock Grid.Row="0" Grid.Column="0">Daily</TextBlock>
                                       <RadioButton Grid.Row="0" Grid.Column="1" Content="90D" ></RadioButton>
                                       <RadioButton Grid.Row="0" Grid.Column="2" Content="6M" ></RadioButton>
                                       <RadioButton Grid.Row="0" Grid.Column="3" Content="1Y" ></RadioButton>
                                       <RadioButton Grid.Row="0" Grid.Column="4" Content="2Y" ></RadioButton>
                                       <RadioButton Grid.Row="0" Grid.Column="5" Content="3Y" ></RadioButton>
                                       <RadioButton Grid.Row="0" Grid.Column="6" Content="5Y" ></RadioButton>
                                        
                                        
                                        <TextBlock Grid.Row="2" Grid.Column="0">Monthly</TextBlock>
                                       <RadioButton Grid.Row="2" Grid.Column="1" Content="5Y" ></RadioButton>
                                       <RadioButton Grid.Row="2" Grid.Column="2" Content="10Y" ></RadioButton>
                                       <RadioButton Grid.Row="2" Grid.Column="3" Content="15Y" ></RadioButton>
                                       <RadioButton Grid.Row="2" Grid.Column="4" Content="20Y" ></RadioButton>
                                       <RadioButton Grid.Row="2" Grid.Column="5" Content="25Y" ></RadioButton>
                                       <RadioButton Grid.Row="2" Grid.Column="6" Content="30Y" ></RadioButton
                                  </Grid>
 
                               </Border>
                           </telerik:RadExpander.Content>
                       </telerik:RadExpander>
 
                       
                   </Canvas>
                    
               </Grid
Pavel R. Pavlov
Telerik team
 answered on 18 May 2013
0 answers
77 views
Removed Duplicate about poor performance in RadTreeListView
Please view question here: http://www.telerik.com/community/forums/wpf/treelist/radtreelistview-poor-performance.aspx
Andrew
Top achievements
Rank 1
 asked on 17 May 2013
1 answer
366 views
Hi!
I'm using RadGridView with Windows 7 theme. I would like to disable the mouse over row highlighting effect. How can I do that?
thanks!
Yoan
Telerik team
 answered on 17 May 2013
1 answer
179 views
Hi,
    I have successfully added  RadLegends to RadChartView.
   The items in the legend showing colors same respective to the all series except for Bar series.
E.g. Legend Item for line series showing same color as line series and same is true for other series like Area,SplineLine.
But in case of Bar series it is showing by default Blue color.
I am applying colors for Bar series by modifying template.
Can you help me regarding this topic?
Thank You.
Petar Marchev
Telerik team
 answered on 17 May 2013
3 answers
141 views
Hi,

I was wondering if it would be possible to add a more detailed search feature to the BreadCrumb bar. I know it currently has a kind of search where typing the name of the item will display matching results for that level (attached currentresults.png). But to get to "Item 1.1.1" I would need to type in "Item 1\Item 1.1\Item 1.1.1". Ideally I'd just like to type in "Item 1.1.1".

I can write the search functionality bit I just need to know what events to listen for (i.e. everytime the user types a letter) and how to display the results.

Any ideas?

Thanks for your help.

Tina Stancheva
Telerik team
 answered on 17 May 2013
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?