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

Rad Menu Horizontal Auto Scroll

1 Answer 85 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Arvind
Top achievements
Rank 1
Arvind asked on 02 Jan 2012, 02:11 PM
Hi Telerik Team,

I have used RadMenu in my application with the following code...

<telerik:RadMenu ID="RadMenu1" runat="server" EnableRootItemScroll="true" Width="80%" Height="5%" style="margin-bottom:100px" 
   EnableRoundedCorners="true" EnableShadows="true" EnableAutoScroll="true" CollapseDelay="100"
    ExpandAnimation-Type="OutBounce" Flow="Horizontal">

 <Items>
                <telerik:RadMenuItem  GroupSettings-Height="100px" ImageUrl="../images/n1.jpg">
                    <Items>
                        <telerik:RadMenuItem Text="New" />
                        <telerik:RadMenuItem Text="Open" />
                        <telerik:RadMenuItem IsSeparator="True" />
                    </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem  GroupSettings-Height="100px" ImageUrl="../images/n2.jpg">
                    <Items>
                        <telerik:RadMenuItem Text="Undo" />
                        <telerik:RadMenuItem IsSeparator="True" />
                        <telerik:RadMenuItem Text="Cut" />
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>

 </Items>
     </telerik:RadMenu>

The Main Problem is the Images in the RadMenu is not Scrolling Automatically even adding the property called [EnableAutoScroll="true"]. It should scroll from left to right direction with some duration.
And the second thing is how to customise the right and left buttons, means setting these buttons exactly in the middle. and add images to them,
Please Help me out from this problem.....

Thanks...




1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 03 Jan 2012, 05:43 PM
Hi Arvind,

In order to get the scrolling work properly you will need to set width of the RadMenu in pixels(see the demo here). Can you please explain what you mean by saying it should scroll from left to right direction with some duration since currently there is no property that specifies the scrolling duration. Can you also explain which buttons you need to center since in the markup you provided there is only the RadMenu control?

Greetings,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Menu
Asked by
Arvind
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or