This is a migrated thread and some comments may be shown as answers.

Menu in tab Item

2 Answers 95 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Shakti SIngh Dulawat
Top achievements
Rank 1
Shakti SIngh Dulawat asked on 03 Aug 2010, 07:50 PM

Friend,
I am just wondering that how to insert menu in rad tab control item , please find attach snap for more details.
Shakti

2 Answers, 1 is accepted

Sort by
0
Shakti SIngh Dulawat
Top achievements
Rank 1
answered on 03 Aug 2010, 09:59 PM
Well I did some code but now able to find how to set image in menu

        <telerik:RadTabControl Height="500" HorizontalAlignment="Stretch" Margin="1" Name="radTabControl1" VerticalAlignment="Stretch" Width="650" >
            <telerik:RadTabItem Header="General Ledger" Height="50" HorizontalAlignment="Left" Name="tabGeneralLedger" VerticalAlignment="Top" Width="150">
                <Grid Background="Transparent">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="0.1*"/>
                        <RowDefinition Height="0.9*"/>
                    </Grid.RowDefinitions>
                    <telerik:RadMenu HorizontalAlignment="Left" Margin="0,8" Width="276">
                        <telerik:RadMenuItem Header="Maintenance" >
                            <telerik:RadMenuItem Header="Financial Accounts"/>
                            <telerik:RadMenuItem Header="Financial Departed"/>
                            <telerik:RadMenuItem IsSeparator="True" />
                            <telerik:RadMenuItem Header="Account History"/>
                            <telerik:RadMenuItem.Icon >
                                <Image Source="/Images/maintenance.PNG"
              Stretch="None" />
                            </telerik:RadMenuItem.Icon>

                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="Transactions">

                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Header="Reports">

                        </telerik:RadMenuItem>
                    </telerik:RadMenu>
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem Header="Accounts Receivable" Height="50" HorizontalAlignment="Left" Name="tabItemAccountsReceivable" VerticalAlignment="Top" Width="150" >
                <Grid Background="Transparent"/>
            </telerik:RadTabItem>
            <telerik:RadTabItem Header="Accounts Payable" Height="50" HorizontalAlignment="Left" Name="tabItemAccountsPayable" VerticalAlignment="Top" Width="150">
                <Grid Background="Transparent"/>
            </telerik:RadTabItem>
        </telerik:RadTabControl>
0
Miroslav
Telerik team
answered on 04 Aug 2010, 12:56 PM
Hi Shakti SIngh Dulawat,

Since the CotnextMenu uses RadMenuITems, you can refer to the RadMenu examples for MenuItem customizations:

http://demos.telerik.com/silverlight/#Menu/Configurator

Greetings,
Miroslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TabControl
Asked by
Shakti SIngh Dulawat
Top achievements
Rank 1
Answers by
Shakti SIngh Dulawat
Top achievements
Rank 1
Miroslav
Telerik team
Share this question
or