TwitterBootstrapMvc icon indicating copy to clipboard operation
TwitterBootstrapMvc copied to clipboard

VisibleDependsOn based on a value not being equal or a list of values

Open goreckia opened this issue 10 years ago • 1 comments

Is there any way to specify VisibleDependsOn for a value that does not exist or multiple values? For example, show a TextBox if a value of a DropDownList is not "please select" or if a value matches "a", "b", or "c".

goreckia avatar Mar 07 '14 18:03 goreckia

VisibleDependsOn was built to handle simple situations.It's kind of hard to come up with a server side syntax to make this control flexible enough to cover all situations. I'd suggest you use AngularJs or Knockout.js to handle visibility for your cases. These tools are way better for this specific purpose.

DmitryEfimenko avatar Mar 07 '14 18:03 DmitryEfimenko