I have a grid bound to a heirarchal data source. The MasterTableView and each DetailTable beneath it have their own unique custom form template. I'm using the OnItemDataBound event to select the correct values for some drop downs and other custom controls within each custom form template.
How do I determine which level in the heirarchy has fired the OnItemDataBound event so that only the code specific to that levels form template is executed? At the moment the program throws exceptions because the selection code for all the templates fire regardless of which form template is being shown.
thx, joey
How do I determine which level in the heirarchy has fired the OnItemDataBound event so that only the code specific to that levels form template is executed? At the moment the program throws exceptions because the selection code for all the templates fire regardless of which form template is being shown.
thx, joey