Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7831043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:32:50+00:00 2026-06-02T11:32:50+00:00

I have multiple ActionLinks defined in the Index View of my MainController. Html.ActionLink(admin,controller =

  • 0

I have multiple ActionLinks defined in the Index View of my MainController.

Html.ActionLink("admin",controller = "Admin",action = “Index”)
Html.ActionLink("customer",controller = "Customer",action = “Index”)
Html.ActionLink("billing",controller = "Billing",action = “Index”)

Those Actionlinks are inside the Jquery accordion control.
When I click an actionlink which inside of an expander`s content the related view is rendered on the right contentDIV BUT on the left side the accordion has collapsed the formerly opened content pane and has expanded the initial content pane.
Why is that or how can I prevent that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:32:53+00:00Added an answer on June 2, 2026 at 11:32 am

    You can follow with the 2 options:

    1. Ajax loading of the page – you need to load your page content with ajax query and do not reload page. It will allow you to keep accordion expanded on right item.

    2. You need to open right item in accordion on the $(document).ready()… Because it will reload page state of the accordion will be refreshed and you need manually define whitch item should be opened. FOr example you can refere to the link:

      if (url == 'admin')
          openAccordionItem(1);
      if (url == 'Customer')
          openAccordionItem(2);
      if (url == 'Billing')
          openAccordionItem(3);
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple controllers one in Areas /Areas/Demo/Admin/AdminController and other in main site /Controller/Admin/AdminController
I have multiple forms like so: <form method=post action=change.php id=form1> <input name=product_id type=hidden value=abc
I have multiple entities stored in a single NHibernate Search index, in the hope
I have multiple activities in which I want to use same code in those
I have multiple alert views in one view, and I use this code to
I have multiple textareas in my HTML form followed by an edit link for
I have multiple computers on a Wifi router. For the iPhone/iPad In objective-c how
I have multiple textfields on a UIView. I resign for a previous textField in
I have multiple JavaScript draggable DIV windows. When clicking a DIV, I want the
I have multiple QLineEdit widgets on a configuration widget. When the configuration text is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.