Rad Menu Horizontal Auto Scroll

2 posts, 0 answers
  1. Arvind
    Arvind avatar
    40 posts
    Member since:
    Sep 2010

    Posted 02 Jan 2012 Link to this post

    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...




  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 03 Jan 2012 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top