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

RadMenu NavigateUrl doesn't work in RadToolBar

8 Answers 187 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
CharlesM
Top achievements
Rank 1
CharlesM asked on 14 Nov 2008, 12:16 AM
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>

8 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 14 Nov 2008, 02:50 PM
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.
0
CharlesM
Top achievements
Rank 1
answered on 15 Nov 2008, 06:44 AM
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!
0
Veselin Vasilev
Telerik team
answered on 17 Nov 2008, 12:18 PM
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.
0
CharlesM
Top achievements
Rank 1
answered on 25 Nov 2008, 06:47 PM
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>
0
Alex Gyoshev
Telerik team
answered on 26 Nov 2008, 08:37 AM
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.
0
CharlesM
Top achievements
Rank 1
answered on 27 Nov 2008, 02:34 AM
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
0
Accepted
Alex Gyoshev
Telerik team
answered on 01 Dec 2008, 09:30 AM
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.
0
CharlesM
Top achievements
Rank 1
answered on 01 Dec 2008, 06:45 PM
Alex,

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

Regards,

Charles
Tags
ToolBar
Asked by
CharlesM
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
CharlesM
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Alex Gyoshev
Telerik team
Share this question
or