Telerik Forums
UI for Silverlight Forum
4 answers
105 views
Hi,
   i am using RadOutLookBar. when i move from one page to another page without click the RadTreeView ,  the Page corresponding RadTreeViewtem Should be selected.

For Ex:
     the RadOutLookBar is created in home page. but if i move from I St page to II nd page by button click event . the II nd page RadTreeViewtem Should be selected.
Jeff Harlan
Top achievements
Rank 1
 answered on 16 Jul 2015
1 answer
72 views
 I am creating a lightswitch silverlight shell, and its coming on well.I managed to use your radRibbon control and its perfect!However, I cannot get the outlookbar working as required.
​As you can see, am using radribbon on top and radoutlookbar on the left. My problem is binding the radoutlookbar to the viewmodel. My code (xaml) is here for the outlook bar portion:

        <telerik:RadOutlookBar x:Name="ScreenTree" Grid.Column="0" Grid.Row="1" Grid.RowSpan="2"
                               ShellHelpers:ComponentViewModelService.ViewModelName="Default.NavigationViewModel"
                               ItemsSource="{Binding NavigationItems}">
            <telerik:RadOutlookBar.ContentTemplate>
                <DataTemplate>
                    <telerik:RadTreeView ItemsSource="{Binding ElementName=ScreenTree, Path=ItemsSource}">
                        <telerik:RadTreeView.ItemTemplate>
                            <windows:HierarchicalDataTemplate ItemsSource="{Binding Children}">
                                <TextBlock Style="{StaticResource TextBlockFontsStyle}"
                                           Text="{Binding DisplayName}"
                                           Foreground="{StaticResource NormalFontBrush}" 
                                           MouseLeftButtonDown="NavigationItemLeftButtonDown" />
                            </windows:HierarchicalDataTemplate>
                        </telerik:RadTreeView.ItemTemplate>
                    </telerik:RadTreeView>
                </DataTemplate>
            </telerik:RadOutlookBar.ContentTemplate>
            <telerik:RadOutlookBar.TitleTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding DisplayName}"/>
                </DataTemplate>
            </telerik:RadOutlookBar.TitleTemplate>
            <telerik:RadOutlookBar.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding DisplayName}"/>
                </DataTemplate>
            </telerik:RadOutlookBar.ItemTemplate>
        </telerik:RadOutlookBar>

The radoutlook bar is displaying the items, but the sub menus cannot appear. Am using the shell in a lightswitch app that has cascaded menus that i want them appear inside the tree view.



Martin Ivanov
Telerik team
 answered on 29 Oct 2014
3 answers
65 views
Senario:
1. Create SL5 project
2. Add 1 radtab control to mainpage with 2 tabitem
3. Add 1 RadOutlookBar to 1st tabitem content with 2 RadOutlookItem (set HorizontalAlignment property to "Left")
Mainpage' XAML is following:

<

 

 

UserControl x:Class="RadControlsSilverlightApp1.MainPage"

 

 

 

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

 

xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

 

 

 

xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

 

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

mc:Ignorable="d" d:DesignWidth="667" d:DesignHeight="540">

 

 

 

 

<Grid x:Name="LayoutRoot">

 

 

 

 

<telerik:RadTabControl Name="radTabControl1">

 

 

 

 

<telerik:RadTabItem Header="RadTabItem1" HorizontalAlignment="Left" Name="RadTabItem1" VerticalAlignment="Top" Width="100" IsSelected="True">

 

 

 

 

<telerik:RadOutlookBar Name="radOutlookBar1" Width="200" HorizontalAlignment="Left">

 

 

 

 

<telerik:RadOutlookBarItem Header="RadOutlookBarItem1" Name="radOutlookBarItem1"/>

 

 

 

 

<telerik:RadOutlookBarItem Header="RadOutlookBarItem2" Name="radOutlookBarItem2"/>

 

 

 

 

</telerik:RadOutlookBar>

 

 

 

 

</telerik:RadTabItem>

 

 

 

 

<telerik:RadTabItem Header="RadTabItem2" HorizontalAlignment="Left" Name="RadTabItem2" VerticalAlignment="Top" Width="100" />

 

 

 

 

</telerik:RadTabControl>

 

 

 

 

</Grid>

 

</

 

 

UserControl>

 

4. Run app
5. At 1st TabItem, click Minimizedbutton on the RadOutlookBar
6. Click 2nd TabItem then click 1st back -> click Minimizedbutton again -> RadOutlookBar not expanded!!!

Pavel R. Pavlov
Telerik team
 answered on 04 Jun 2014
2 answers
54 views
Hi, 
      When outlookbar is minimized and i click on it, it shows Selected Item. I have Radtree in it, But since list is pretty long , it does not display every item. How do i add VerticalScrollBar to it ? It can be seen in the image attached here. 
Martin Ivanov
Telerik team
 answered on 08 May 2014
1 answer
46 views
see the picture please

I don't want to resize horizontally. You can see horizontalAlingment="stretch" is not working when radPane changes its witdth.

Thank you for any help.

Tom


Martin Ivanov
Telerik team
 answered on 15 Apr 2014
3 answers
52 views
I am building a solution with multiple front-end clients and wish to maintain a consistent Look&Feel between them. For this I have created a shared Silverlight library which contains common resources including all images/icons. I have declared a resource dictionary in this project which I then merge into the other client projects in the root visual. I have used this successfully to add image to a RadButton as follows:
<ResourceDictionary
     
    <ImageSource x:Key="HomeIcon">Images/house_16xLG.png</ImageSource>
     
</ResourceDictionary>

<telerik:RadButton.Content>
    <StackPanel Orientation="Horizontal">
        <Image Source="{StaticResource HomeIcon}" Margin="3" Stretch="None" VerticalAlignment="Center" />
        <TextBlock Text="Home" VerticalAlignment="Center" Margin="3"/>
    </StackPanel>
</telerik:RadButton.Content>

Now I also want to use these images as icons for RadOutlookBarItem but I am struggling to find the right syntax (assuming that it is possible)
Pavel R. Pavlov
Telerik team
 answered on 04 Nov 2013
11 answers
169 views
Hi All,

We have a RadTreeView inside a RadOutlookBar as its single RadOutlookBaritem. We have the option to minimize the OutlookBar. When i click the button to minimize, the outlookbar gets minimized and the default minimized width of 30 is applied. At this juncture, if i click on the RadOutlookBar item, i.e. Treeview, i get a white band to the right of the outlookbar. And, if i click for the second time, it goes off.

Note: When i increase the width of RadOutlookBar, the width of white band also gets increased. Even if i remove the width property, the white band exists for some minute length.

Please look at the screenshot of the issue which i face.

Kindly help me to solve this UI issue.

Please let me know, if anyone want to see my code block.

Thanks
Manikandan
Pavel R. Pavlov
Telerik team
 answered on 10 Sep 2013
1 answer
8 views
Hi Telerik Team,

When applied on Outlookbar, the AddHandler event is raised.

But when i wire it for the outlookbaritem, it is not raised. why?

Thanks
Manikandan
Pavel R. Pavlov
Telerik team
 answered on 05 Aug 2013
1 answer
28 views
Hi Telerik Team,

Want to evaluate RadControls for the new project.

Is there any default event responsible for color change on mouse over of the minimized outlookbar?

If yes, how to alter that event? Please reply.

Thanks
Manikandan
Pavel R. Pavlov
Telerik team
 answered on 05 Aug 2013
13 answers
218 views
Hello.
How can be changed title "Folders" when RadOutlookBar is minimized?
Pavel R. Pavlov
Telerik team
 answered on 05 Aug 2013
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?