A
Antoine
I would like to construct my own list of items in a grid/ table/ item list
layout but I have a problem. I want to add a sort of index row based on
time, such as there might be blank values.
Sure the data list I have at the moment is in order, but I would like to
have each interval possible, and instead of repeating the row index (the
time value) I would like to list it once and then list the items within it
(the items associated with that start time).
Out of repeater/datalist/datagrid I have not seen any typical examples of
where you might do this.
I dont think I can use a seperate repeater and databinding, as surely the
nested repeater will not have any logic in which items to create and will
just dump the items all under the first primary repeater row instance it
comes across.
Perhaps its even possible to construct html within codebehind and pass this
as multiple lines for part of a table definition for instance so I haven't
got to worry about the binding aspect so much as I can define how to
construct the page in code behind? Or is this messy and there are better
ways?
I am certainly not doing this way at present and want to avoid if poss. I
know the treeview can be used this way, but I'd prefer the grid style
layout.
I am just wondering the best way to say have one row value based on a data
construct of my choosing, and then return all values associated with it.
I've never tried any of these components so I wouldn't know what is best
suited or makes it possible.
Any general guidance or direction very much appreciated dot netters.
Thanks
Antoine
layout but I have a problem. I want to add a sort of index row based on
time, such as there might be blank values.
Sure the data list I have at the moment is in order, but I would like to
have each interval possible, and instead of repeating the row index (the
time value) I would like to list it once and then list the items within it
(the items associated with that start time).
Out of repeater/datalist/datagrid I have not seen any typical examples of
where you might do this.
I dont think I can use a seperate repeater and databinding, as surely the
nested repeater will not have any logic in which items to create and will
just dump the items all under the first primary repeater row instance it
comes across.
Perhaps its even possible to construct html within codebehind and pass this
as multiple lines for part of a table definition for instance so I haven't
got to worry about the binding aspect so much as I can define how to
construct the page in code behind? Or is this messy and there are better
ways?
I am certainly not doing this way at present and want to avoid if poss. I
know the treeview can be used this way, but I'd prefer the grid style
layout.
I am just wondering the best way to say have one row value based on a data
construct of my choosing, and then return all values associated with it.
I've never tried any of these components so I wouldn't know what is best
suited or makes it possible.
Any general guidance or direction very much appreciated dot netters.
Thanks
Antoine