RadMenu NavigateUrl doesn't work in RadToolBar

9 posts, 1 answers
  1. CharlesM
    CharlesM avatar
    14 posts
    Member since:
    Jun 2007

    Posted 13 Nov 2008 Link to this post

    When I place a RadMenu into a RadToolBar, the NavigateUrl of the RadMenuItem is never navigated to. I am using RadControls for ASPNET AJAX Q3 2008 (2008.3.1105.35). Is this a known issue? Do you have a work around?

    <telerik:RadToolBar ID="tlbrMain" runat="server" Skin="Web20" Height="24px" >
    <Items>

    <telerik:RadToolBarButton runat="server" PostBack="false" ID="menu_app"
    Text="MainNavigation">
    <ItemTemplate>
    <telerik:RadMenu id="tlbrMenu" runat="server" Skin="Web20">
    <Items>
    <telerik:RadMenuItem Text="Test" NavigateUrl="http://google.com" />
    <telerik:RadMenuItem Text="Test2" NavigateUrl="http://www.msn.com" />
    </Items>
    </telerik:RadMenu>
    </ItemTemplate>
    </telerik:RadToolBarButton>
    <telerik:RadToolBarButton runat="server" ID="RadToolbarTemplateButton1"
    Height="24px" CausesValidation="False" Text="HomeButton" ImageUrl="~/Images/home_button.gif" >
    <ItemTemplate>
    <asp:ImageButton ID="igbtnHome" runat="server" ImageUrl="~/Images/home_button.gif" />
    </ItemTemplate>
    </telerik:RadToolBarButton>

    </Items>
    </telerik:RadToolBar>
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 14 Nov 2008 Link to this post

    Hello CharlesM,

    Indeed, this is a glitch in RadToolBar. Thank you for reporting that! It is fixed already and the fix will be available in the next official service pack of the suite.

    Please, find your Telerik account updated.

    Regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. CharlesM
    CharlesM avatar
    14 posts
    Member since:
    Jun 2007

    Posted 15 Nov 2008 Link to this post

    When do you expect that release? I am about to recommend this product for a client of mine and want to be sure I can get this working (demo) before they purchase it. If the release is far off, can I get a patch to complete this?

    Regards!
  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 17 Nov 2008 Link to this post

    Hello CharlesM,

    Please find attached the dll files of our latest internal build which contains the fix. This fix will be included in the SP1 which will be released in the middle of the next week.

    I hope this helps.

    Best wishes,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. CharlesM
    CharlesM avatar
    14 posts
    Member since:
    Jun 2007

    Posted 25 Nov 2008 Link to this post

    Almost fixed! It works great in IE 7.0, but now in Firefox (2.0.0.18) the menu is no longer displaying. It appears that there is a z-order issue as the menu is partially shown but seems to be hidden behind something. Please see the code below:

    <telerik:RadToolbar ID="tlbrMain" runat="server" Skin="Web20" style="width:100%" AutoPostBack="True">
                                        <Items>
                                            <telerik:RadToolBarButton runat="server" ID="menu_app" >
                                                <ItemTemplate>
                                                    <telerik:RadMenu id="tlbrMenu" runat="server" Skin="Web20">                                                               
                                                        <Items>
                                                            <telerik:RadMenuItem Text="Test">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Test2" />
                                                                    <telerik:RadMenuItem Text="Test3" />
                                                                    <telerik:RadMenuItem Text="Test4" />
                                                                </Items>
                                                            </telerik:RadMenuItem>
                                                        </Items>
                                                    </telerik:RadMenu>                                               
                                                </ItemTemplate>
                                            </telerik:RadToolBarButton>                  
                                            <telerik:RadToolbarButton ID="RadToolbarButton1" runat="server"
                                                CommandName="Home" CausesValidation="False" ImageUrl="img/home_button.gif" />
                                            <telerik:RadToolBarButton runat="server"
                                                ID="RadToolbarTemplateButton2" CausesValidation="False" Text="MiddleSection">
                                            <ItemTemplate>                                           
                                               
                                            </ItemTemplate>
                                            </telerik:RadToolBarButton>
                                            <telerik:RadToolBarButton runat="server" 
                                                ID="RadToolbarTemplateButton3" CausesValidation="False" Text="SearchArea">
                                            <ItemTemplate>
                                           
                                            </ItemTemplate>
                                            </telerik:RadToolBarButton>
                                        </Items>
                                    </telerik:RadToolbar>
  7. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 26 Nov 2008 Link to this post

    Hello Charles,

    The following CSS styles should do the trick:

    div.RadToolBar .rtbInner,
    div.RadToolBar .rtbUL,
    div.RadToolBar .rtbItem {
        overflow: visible;
    }

    Greetings,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. CharlesM
    CharlesM avatar
    14 posts
    Member since:
    Jun 2007

    Posted 26 Nov 2008 Link to this post

    I can't seem to get that to work. I tried putting it in my page and also tried doing an inline style and I still seem to have the problem. Keep in mind I am using the version of Telerik.Web.UI.dll you gave me (2008.3.1117.20) using the code above. Please let me know what I am doing wrong.

    Thanks,

    Charles
  9. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 01 Dec 2008 Link to this post

    Hello Charles,

    I've missed a selector in the previous post - sorry. I'm attaching a sample project that has it included.

    div.RadToolBar,
    div.RadToolBar .rtbInner,
    div.RadToolBar .rtbUL,
    div.RadToolBar .rtbItem {
        overflow: visible;
    }

    Regards,
    Alex
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. CharlesM
    CharlesM avatar
    14 posts
    Member since:
    Jun 2007

    Posted 01 Dec 2008 Link to this post

    Alex,

    That works great! Thank you for the extra effort on this one. Hope this makes it in SP1!

    Regards,

    Charles
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017