locked
Dynamic Loading and refreshing data in Accordion in MVC 4 RRS feed

  • Question

  • I have an accordion wherein I load the model data from View, and on clicking the Accordion, the model data is populated. The problem I am facing is that when I delete a value inside the accordion, it gets deleted from the UI, but the values are still stored in accordion headers. So on re-opening the accordion the deleted values are visible again, and the values only go page refresh.

    So any way of loading the data dynamically on accordion click rather than on page load?. Any help or suggestion would be great.

    I have checked solutions on other links, but still could not solve it.

    Thanks In Advance.


    • Edited by Siddy Boy Tuesday, April 14, 2015 6:41 AM
    • Moved by Youjun Tang Wednesday, April 15, 2015 9:43 AM more related to the suggested forum
    Tuesday, April 14, 2015 6:41 AM

Answers

  • The only accordion I know is making music. (and the online translators didn't show anything else with a different meaning)

    MVC is normally Microsoft Visual C(++).

    What do you mean with that?

    Your write "page refresh" and "page load". If you are creating an ASP.net application, please post your questions to http://forums.asp.net/


    Armin

    • Edited by Armin Zingler Tuesday, April 14, 2015 11:26 AM
    • Proposed as answer by Cor Ligthert Tuesday, April 14, 2015 4:05 PM
    • Marked as answer by Just Karl Wednesday, April 22, 2015 4:18 PM
    Tuesday, April 14, 2015 11:26 AM

All replies

  • The only accordion I know is making music. (and the online translators didn't show anything else with a different meaning)

    MVC is normally Microsoft Visual C(++).

    What do you mean with that?

    Your write "page refresh" and "page load". If you are creating an ASP.net application, please post your questions to http://forums.asp.net/


    Armin

    • Edited by Armin Zingler Tuesday, April 14, 2015 11:26 AM
    • Proposed as answer by Cor Ligthert Tuesday, April 14, 2015 4:05 PM
    • Marked as answer by Just Karl Wednesday, April 22, 2015 4:18 PM
    Tuesday, April 14, 2015 11:26 AM
  • There is an MVC sub forum, but MVC is not Visual C++. It's just an alternative architecture in ASP.NET for building web applications.

    http://forums.asp.net/1146.aspx


    Paul ~~~~ Microsoft MVP (Visual Basic)

    Tuesday, April 14, 2015 12:14 PM
  • but MVC is not Visual C++.

    Well, it's the common abreviation. But normally MVC++. If someone doesn't tell what it's about, I have to suspect.

    Armin

    Tuesday, April 14, 2015 12:23 PM
  • MVC = Model-View-Controller (Which probably doesn't make sense to anyone who isn't an ASP.NET developer). ;-)

    Paul ~~~~ Microsoft MVP (Visual Basic)

    Wednesday, April 15, 2015 11:37 AM
  • Yes, I've noticed this meanwhile - and came out as a desktop developer. ;)

    Armin

    Wednesday, April 15, 2015 11:46 AM