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

Navigation doesn't work in masterpage

1 Answer 108 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Alper
Top achievements
Rank 1
Alper asked on 25 Dec 2019, 09:19 AM
     Hi;

I had added the radnavigation to a masterpage. Everything works well if there is no ajax postback in pages.. When you make a ajax postback with ajaxmanagerproxy in a page, the navigation locks and can't use.. Only nodes without subitems can be clickable...

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 30 Dec 2019, 02:48 PM

Hi Alper,

You can wrap the navigation component along with the asp:ContentPlaceHolder within a UpdatePanel, e.g

 

<asp:UpdatePanel runat="server" ID="up1">
    <ContentTemplate>
        <telerik:RadNavigation ID="radNav" Skin="MetroTouch" Font-Size="Medium" runat="server" RenderMode="Auto">
            <Nodes>
                <telerik:NavigationNode Text="Test">
                    <Nodes>
                        <telerik:NavigationNode NavigateUrl="test1.aspx" Text="Test 1"></telerik:NavigationNode>
                        <telerik:NavigationNode NavigateUrl="test1.aspx" Text="Test 2"></telerik:NavigationNode>
                    </Nodes>
                </telerik:NavigationNode>
            </Nodes>
        </telerik:RadNavigation>

        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
        </asp:ContentPlaceHolder>
    </ContentTemplate>
</asp:UpdatePanel>

For your convenience I have attached my test files.

If your scenario is different please modify them so that they start to exhibit the issue and send them back for examination.

Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Navigation
Asked by
Alper
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or