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

Position not set well

1 Answer 100 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Kaushal
Top achievements
Rank 1
Kaushal asked on 04 Dec 2010, 06:38 AM
Hello All,

           I have RadContexMenu on page which will bind dynamically, all things well, but i have problem with design while expanding drop down menu,

expanded node not come to the exact on line to My RadContextMenu header, as simple in our MSword when user click on file than menu will get drop down vertically parallel to File Menu...in my case my expanded menu will get display around 15px right side from My Main Tag.

<telerik:RadContextMenu ID="Menu" runat="server" Flow="Vertical" OnItemClick="Menu_ItemClick"
                            Skin="Office2007">
                            <Items>
                                <telerik:RadMenuItem DisabledImageUrl="DImages1.png"
                                    ImageUrl="EImages1.png" Text="SubMenu1" Value="SubMenu1">
                                </telerik:RadMenuItem>
                                
                                <telerik:RadMenuItem DisabledImageUrl="DImages2.png"
                                    ImageUrl="EImages2.png" Text="SubMenu2"
                                    Value="SubMenu2">
                                </telerik:RadMenuItem>

                            </Items>
                            <ExpandAnimation Type="None" />
                            <CollapseAnimation Type="None" />
                            
                        </telerik:RadContextMenu>

My current layout looks like
     
                                     Menu
                                                
                                                   
SubMenu1
                                                   
SubMenu2

Actual should be look like

                                    Menu
                                   
SubMenu1
                                   
SubMenu2

do i need to set manually css or any other build in property to set proper layout of menu?

Please help me.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 07 Dec 2010, 05:17 PM
Hello Kaushal,

The appearance of child items could be controlled with GroupSettings property of the parent item.
It's a composite property with sub properties. You could find information about it here.

Kind regards,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Menu
Asked by
Kaushal
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or