Base solution for your next web application
Open Closed

How to create custom navigation and needed help in redirection function? #10510


User avatar
0
gbskwadmin created

Prerequisites

  • What is your product version?
    • 10.3.0
  • What is your product type (Angular or MVC)?
    • Angular
  • What is the product framework type (.net framework or .net core)?
    • .net core

I have created a new page where I want to add a custom dropdown menu within this page but am unable to implement it. I implemented a bootstrap NavBar and copied the ng-template from the horizontal menu but was unable to click and open the dropdown or either not showing. kindly let me know how can I implement a menu.

Also, I created a function for redirection to a page :

below is the page where I need to redirect

but I end up on the dashboard.


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

    Hi @gbskwadmin

    Could you also share the html part where you used RedirectToEmployeeAddress ?

    Thanks,

  • User Avatar
    0
    gbskwadmin created

    this is the dropdown menu I have implemented. but dropdown doesn't work. No error in console.

    <br>

    this is a sample button put for on click redirection

    <br> <br>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @gbskwadmin

    You just need to add href="javascript:;" to the anchor element.