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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:59:32+00:00 2026-05-23T13:59:32+00:00

I am looking for a POEAA I have a standard ASP.NET MVC View with

  • 0

I am looking for a POEAA

I have a standard ASP.NET MVC View with tons of input controls. The visibility of the controls is triggered based on inputs from 2 main dropdown controls. for e.g. DropDown1 with value A and DropDown2 with value B will show only few controls from the full list and will also change the mandatory requirements.

How should I design the view?

  1. Write java script and hide/unhide based on the DropDown combinations.There can be 30 combinations so might be challenging to manage on new controls and combinations

  2. Create a table in database that will give a list of control ids for each combination and then on client side loop through it to hide/unhide?

  3. Any other patterns someone can suggest? Aim is to keep it clean and manageable

Real World Example

Working on a property listing form. Based on the selected property type and transction type, the controls are hidden/shown.

For e.g. Bedrooms and Bathrooms do not apply to a Plot/Land. There are 2 dozen such controls whose visibility needs to be managed based on the property type/transaction type comibination.

The list can grow…

Thanks,
Pinakin

  • 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-23T13:59:32+00:00Added an answer on May 23, 2026 at 1:59 pm

    I would suggest looking at a more reactive approach by implementing the MVVM pattern and would suggest looking at knockout.js as a method of binding your model to your controls and their attributes such that changing your model will have effects beyond the value being changed.

    Hopefully this will give you some ideas on how to move forward but I stand by my original comment, look to re-evaluate how you are presenting the user interface. 30 controls on a single view is too much. Break it down into smaller chunks, if it’s tough for you to manage then it’s tough on the user too.

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

Sidebar

Related Questions

Looking to do a bit of refactoring... Using NHibernate I have this query currently
Looking at the Ehcahce implementation of net.sf.cache.JS107, I am trying to achieve the following
Looking for best advice on how to do this: I have an insert like
Looking for simple php class routing, like this: http://fatfree.sourceforge.net/page/routing-engine Is there a ready-made solutions?
Looking at the example here - http://jsfiddle.net/uqYeQ/3/ The first row behaves as expected, returning
Looking for a way to capture user password in case of Tomcat form-based authentication
Looking on my method I'm not sure I have to use three separate try/catch
Looking at developing an iphone app for the first time upon Windows. I have
Looking for suggestions on file system management tools. We have several terabytes of images,
Looking at some old code we have lots of things like the following: //

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.