Navigation Problem Error Message

6 posts, 0 answers
  1. Simon
    Simon avatar
    60 posts
    Member since:
    Sep 2018

    Posted 26 Apr Link to this post

    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?

     

  2. Vessy
    Admin
    Vessy avatar
    2041 posts

    Posted 30 Apr Link to this post

    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.
  3. Simon
    Simon avatar
    60 posts
    Member since:
    Sep 2018

    Posted 03 May Link to this post

    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.

     

     

  4. Simon
    Simon avatar
    60 posts
    Member since:
    Sep 2018

    Posted 03 May Link to this post

    Update:

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

    But remark: The error message is in german language.

  5. Simon
    Simon avatar
    60 posts
    Member since:
    Sep 2018

    Posted 06 May Link to this post

    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!

     

     

  6. Vessy
    Admin
    Vessy avatar
    2041 posts

    Posted 07 May Link to this post

    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.
Back to Top