I'm working on a design that involves multiple record types in the same GridView. I can merge all the fields from all the record types into one record layout in the GridView datasource, if needed, and separate the record types after. The trick is in presenting different formats for different records.
One approach is to use multiple panels in a GridView Template column, and to bind the "visible" property of each panel to a different Databinder.Eval value:
DataBinder.Eval(Container.DataItem, "RecordType") ="1"
In this scenario, I'd like to know how I might superposition two or more panels in a GridView Template so that when I alternate making one or another visible, they show up in the same relative location within the template column (otherwise, the template column seems to require space for all panels, even though only one is visible.)
Or, if there's another way to get the same effect, that would be great, too.
Thanks!
One approach is to use multiple panels in a GridView Template column, and to bind the "visible" property of each panel to a different Databinder.Eval value:
DataBinder.Eval(Container.DataItem, "RecordType") ="1"
In this scenario, I'd like to know how I might superposition two or more panels in a GridView Template so that when I alternate making one or another visible, they show up in the same relative location within the template column (otherwise, the template column seems to require space for all panels, even though only one is visible.)
Or, if there's another way to get the same effect, that would be great, too.
Thanks!