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

Navigation Problem Error Message

5 Answers 78 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 26 Apr 2019, 09:04 AM

Hi,

in my webapplication I use a RadMenu that contains some RadMenuItems.

The code is the following:

<asp:Content ID="Content2" ContentPlaceHolderID="FolderContent" runat="Server">
    
     <telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" Flow="Vertical" CssClass="mainMenu" runat="server" ShowToggleHandle="true">
            <Items>
                <telerik:RadMenuItem Text="Leistungen" NavigateUrl="Views/Office/ServiceListView.aspx" />
                <telerik:RadMenuItem Text="Warengruppen" NavigateUrl="" />
                <telerik:RadMenuItem Text="Artikel" NavigateUrl="Views/Office/ArticleListView.aspx"></telerik:RadMenuItem>

 

When I click on MenuItem "Leistungen" the page ServiceListView.aspx in the folder Views/Office/ should be load in the MainContent and in the browser.

But it doesn't work.

I get the following error message:

System.Web.HttpException: "Vorangestellte .. k├Ânnen nicht zum Beenden auf oberster Verzeichnisebene verwendet werden."

How can I adjust the path without errors?

 

5 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 30 Apr 2019, 01:56 PM
Hi Simon,

The provided configuration is correct and it works properly at my end. For convenience, I am attaching my test project to this reply so you can examine it and compare its setup with the one that you have.

Regards,
Vessy
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.
0
Simon
Top achievements
Rank 1
answered on 03 May 2019, 12:46 PM

Hi Vessy,

thank you!

I have downloaded your project for testing and indeed it works.

But I must rename Webform1.aspx in Default.aspx.

In my project I get this error message and don't know why.

Perhaps there is a configuration problem in my project, but I don't know where.

 

 

0
Simon
Top achievements
Rank 1
answered on 03 May 2019, 01:32 PM

Update:

I attach the error message when I call the page ArticleListView.

But remark: The error message is in german language.

0
Simon
Top achievements
Rank 1
answered on 06 May 2019, 09:07 AM

Hi Vessy,

I have solved this problem by myself this morning.

This side helped me:

https://stackoverrun.com/de/q/11718686

I took a look at the .aspx of the master page and guess what? There was a "../" reference!

For whatever reason.

I have delete it and now I can call my page in Views/Office/.

 

Thank you!

 

 

0
Vessy
Telerik team
answered on 07 May 2019, 12:55 PM
Hi,

Thanks a lot for the update, Simon - I am really glad you have found the root of the problem and everything is working properly now.

Regards,
Vessy
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
Simon
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Simon
Top achievements
Rank 1
Share this question
or