asp.net - Variable number of categories/checkboxes -
i building form parents enter health information students. our nurses want build similar fill out when see new doctor have categories , conditions within category check if apply you. want number of categories , conditions variable can change them willy nilly desired.
i need ideas how approach ui side. initial thought parent gridview row each category , inside that, child gridview each condition own checkbox. bit of work gridviews , know how access nested objects i'm not terribly worried how data back.
my question this: there better way , suggestions community make might different or more efficient using nested gridviews?
+1 asking is there better way?
what i'm suggest may end being little more complicated @ first, rest assured worth in end.
there javascript framework named knockout.js
perfect situations these. knockout vastly simplifies situations variable amount of ui controls needed.
here tutorial on website has similar situation yours: http://learn.knockoutjs.com/#/?tutorial=collections
Comments
Post a Comment