RTL Toolbar with vertical direction

4 posts, 0 answers
  1. Kamel
    Kamel avatar
    12 posts
    Member since:
    Apr 2009

    Posted 07 Jul 2009 Link to this post

    I have the following code in default.aspx
    <telerik:RadToolBar ID="RadToolBar1" runat="server" Orientation="Vertical" dir="rtl">
                    <Items>
                        <telerik:RadToolBarDropDown runat="server" Text="DropDown 0">
                            <Buttons>
                                <telerik:RadToolBarButton runat="server" Text="Child Button 1">
                                </telerik:RadToolBarButton>
                            </Buttons>
                        </telerik:RadToolBarDropDown>
                        <telerik:RadToolBarDropDown runat="server" Text="DropDown 1">
                            <Buttons>
                                <telerik:RadToolBarButton runat="server" Text="Child Button 1">
                                </telerik:RadToolBarButton>
                                <telerik:RadToolBarButton runat="server" Text="Child Button 2">
                                </telerik:RadToolBarButton>
                            </Buttons>
                        </telerik:RadToolBarDropDown>
                        <telerik:RadToolBarDropDown runat="server" Text="DropDown 2">
                            <Buttons>
                                <telerik:RadToolBarButton runat="server" Text="Child Button 1">
                                </telerik:RadToolBarButton>
                                <telerik:RadToolBarButton runat="server" Text="Child Button 2">
                                </telerik:RadToolBarButton>
                            </Buttons>
                        </telerik:RadToolBarDropDown>
                    </Items>
                </telerik:RadToolBar>


    when I open the page in browser, and click on "drop down 0" then sub-menu opens, then when i click on it again for 2 times, the sub-menu's width is enlarged and each time I click the "drop down 0", the sub-menu gets wider. Is there a solution to this problem?


  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 07 Jul 2009 Link to this post

    Hi Kamel,

    Thanks for the report.

    Actually, you're right and we admit this is a bug. I've forwarded your report to our dev team and the issue will be fixed in the next hotfix.

    Please excuse us for the temporary inconvenience.

    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kamel
    Kamel avatar
    12 posts
    Member since:
    Apr 2009

    Posted 07 Jul 2009 Link to this post

    Dear,
    I could turn around the bug but using the following code:


    <script type="text/javascript">  
            function dropDownOpened(sender, args)  
            {  
                var rtbSlide =  args.get_item().get_dropDownElement().parentNode;
                rtbSlide.style.width=100;
            }  
    </script>


    and putting the OnClientDropDownOpened="dropDownOpened in the RadToolbar declaration.

    Hope this helps someone.
  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 07 Jul 2009 Link to this post

    Hi Kamel,

    That's OK if you want to set fixed width. Anyway, thanks for the feedback.

    Regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top