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 4618160
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:13:36+00:00 2026-05-22T02:13:36+00:00

So I plan to create a complex page with many animatable UI elements. I

  • 0

So I plan to create a complex page with many animatable UI elements. I want to come up with a clean way to maintain the state (expanded/collapsed, highlighted, etc.) of these animatable UI elements. I have a few ideas but I just want to know if anyone knew some js framework that does this so I don’t re-invent the wheel.

EDIT

My idea so far is:

1) On form post, get the state of each UI element and add it to POST data. I’m thinking of marking all UI elements I want to track state for with a special CSS class (a type of registration for tracking) and having each support some callback that will allow me to obtain their state in a polymorphic way (each UI element has it’s own understanding of state e.g. expanded, selected index, highlighted, etc)

2)Create HtmlHelpers for my UI elements that can recognize the state information sent from the client and output the UI element’s html in the correct state (I prefer the state be set on the server side rather than having js popping things all over the place trying to restore state on the client side…right?)

3)Not be as complex or bloated as WebControls or ViewState

Is there a framework that does stuff like that and does it way better and if not, does my proposed framework sound like a good idea?

  • 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-05-22T02:13:36+00:00Added an answer on May 22, 2026 at 2:13 am

    I guess KnockoutJS might help you, since you can consolidate all the data/state management logic on it and then persist it the way you like, i.e. using the .toJSON() function and sending it to the server.

    And perhaps you can integrate it with @Schwarty’s localStorage solution?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For my next project I plan to create images with text and graphics. I'm
I plan to use PyInstaller to create a stand-alone python executable. PythonInstaller comes with
We are trying to create a web-service that we plan to pass a variable
The main user-case is: Create the 2D floor plan See the 3D view of
When I try to create a new Maintenance Plan in SQL Server, I get
I have a fairly complex page which contains an absolutely positioned table (as the
I'm trying to use flex and bison to create a filter, because I want
This is in SQL Server 2008. I plan to create two tables to represent
I'm working on a toolbar type application. My current plan is to create a
I'm looking to create an array of byte arrays in native code. I plan

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.