Here's my problem statement:
I have lots of pages in my application where there are rules which govern whether a control is mandatory, enabled or disabled. Mandatory checks are to be checked at client side & suitable error messages need to be displayed in case they are not filled in. Also, labels associated with mandatory controls need to be modified to show they are mandatory. Some of the rules come into affect on client side events e.g. a text box becomes mandatory only on change of a radio button (w/o making a server round trip). Because the logic of enabling/disabling/setting mandatory is getting convoluted, I wanted to store it in a database along with the rules which drive it. But I'm not able to do it for client side. Any body tried this before or have a solution for this?
View Complete Post