Base solution for your next web application
Open Closed

On tabs or any link or uploading images, page is redirecting, can you confirm what we are missing #12399


User avatar
0
ictadmin created

Hello Support Team,

We are redirecting to some other pages on this settings page, even if we click on a tab to access.

We upgraded from old version to newest of asp.net zero, we copied files properly but not confirm what is missing due to which it always redirects.

Looking forward to hear from you Support Team.

image.png


3 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ictadmin

    To provide the correct solution, could you please specify whether your application’s UI type is Angular or MVC? And are there any errors on the console screen?

  • User Avatar
    0
    ictadmin created

    Its in MVC

    and here is console, no error

    image.png

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ictadmin

    Please ensure that the structure of the tab menu items in the Settings page is correctly configured as shown in the example below:

    < li class="nav-item">
        < a href="#SettingsUserManagementTab" aria-expanded="true" class="nav-link" data-bs-toggle="tab" role="tab">
            @L("UserManagement")
        < /a>
    < /li>
    
    //...
    
    < div class="tab-pane" id="SettingsUserManagementTab">
        //...
    < /div
    

    You need to use Bootstrap 5 for proper functionality. Please check your package.json file to confirm that the correct Bootstrap version is installed.

    Additionally, you may need to clean and rebuild your bundled CSS/JS files to ensure that outdated files are not causing conflicts. You can do this by running the following commands:

    • Manually deleting the old bundled files

    • Rebuilding the bundle using the following command:
      npm run create-bundles

    If the issue persists, please let us know.