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

RadMenu with RadPanel - Open location changes with change in screen resolution.

1 Answer 44 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ankesh Bharti
Top achievements
Rank 1
Ankesh Bharti asked on 18 May 2010, 08:33 AM
Hi Telerik Team,


I am using RadMenu with RadPanelbar like the code below:

 <telerik:RadMenu ID="RadMenu1" Skin="" Style="margin-left: 0px; margin-bottom: 0px;  
                                                                margin-top: -1px; margin-right: 0px;" DefaultGroupSettings-OffsetY="2" EnableOverlay="true" 
                                                                DefaultGroupSettings-OffsetX="-30" runat="server" Flow="Vertical" Width="17">  
                                                                <Items> 
                                                                    <telerik:RadMenuItem ImageUrl="images/main_menu.gif" Value="0" Width="17">  
                                                                        <Items> 
                                                                            <telerik:RadMenuItem Value="1">  
                                                                                <ItemTemplate> 
                                                                                    <telerik:RadPanelBar runat="server" ID="RadPanelBarLeft" ExpandMode="SingleExpandedItem" 
                                                                                        OnClientMouseOver="ExpandItems" EnableEmbeddedSkins="false" Skin="ILPanelSkin" 
                                                                                        Style="width: 197px; height: 500px; background: #e6eaef;" OnItemClick="RadPanelBarLeft_ItemClick">  
                                                                                    </telerik:RadPanelBar> 
                                                                                </ItemTemplate> 
                                                                            </telerik:RadMenuItem> 
                                                                        </Items> 
                                                                    </telerik:RadMenuItem> 
                                                                </Items> 
                                                            </telerik:RadMenu> 
 
My functionality is to open/close the panel bar on mouseover/mouseout of "main_menu.gif" image.Its working fine. I have set the height of panelbar to 500px, so that it covers whole div on which it opens. Its working fine if there is no vertical scroll bar in your page.But, if vertical scroll bar comes then Radpanelbar goes up from its original position.In otherwords this should open always parallel to "main_menu.gif" image.

Please help me in this regard.

Thanks,

Ankesh Bharti



1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 May 2010, 10:33 AM
Hello Ankesh,

To prevent this behavior, simply set EnableScreenBoundaryDetection="false" for RadMenu.


Greetings,
Peter
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
Menu
Asked by
Ankesh Bharti
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or