I want to be able to use a navbar based on user data. for example, if the user is from a specific country to have a specific navbar in _Layout and if is outside that conutry to have it in English. How can I do that?
Loading
I want to be able to use a navbar based on user data. for example, if the user is from a specific country to have a specific navbar in _Layout and if is outside that conutry to have it in English. How can I do that?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Oct 11, 2021, 9:42 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 11, 2021, 5:28 AM EDT
Marius VasileRank #785 · 2.9K reputationPosted Oct 11, 2021, 5:34 AM EDT
Marius VasileRank #785 · 2.9K reputationPosted Oct 11, 2021, 6:40 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 11, 2021, 6:55 AM EDT
Please check if this can help your requirements
https://www.c-sharpcorner.com/article/customizing-navbar-in-mvc-5-with-bootstrap/
Marius VasileRank #785 · 2.9K reputationPosted Oct 11, 2021, 7:08 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 11, 2021, 9:02 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Oct 11, 2021, 9:55 AM EDT