We have stored the controls information(id, name etc.) in our database.
Now, based on the data we want to show/hide controls using jQuery in MVC.
What we are thinking is store controls information in key(ControlName) / value(Show/hide) pair in json format
and pass this json to jQuery function and in function based on value controls will be shown/hidden.
So, how can I do it ?