DEV Community

Fayyaz Ahmed Nadeem
Fayyaz Ahmed Nadeem

Posted on

How to return to parent tab when modal popup closes

I created a razor page in a blazor server app. It page containes 5 tabs to display different kind of data from the database. I open tab-2 which containes a button "Add". When I click on the button "Add" it displays a popup (bootstrap 5.3). When modal closes, it returns to tab-1 of the page. I want to keep the tab-2 active when modal popup closes. How can I do this?

Top comments (0)