Listview header template?
Hi all,
From what I can tell the listview doesn't have a header template. I'd like to be able to list and line up the column names with the data on my list view, but there doesn't seem to be a straightforward way to do this. If I put it in a table in the item template, it lines up like I want it, but it of course repeats which is what I don't want. Can anyone offer some suggestions on how I can easily go about doing this?
Thanks,
Strick
Re: Listview header template?
Use the Layout template to define the headers.
Re: Listview header template?
Hey,
Here is an example of what Bruce has suggested:
http://www.codeproject.com/KB/webfor...eListView.aspx
Hope that helps!
Gary
Re: Listview header template?
Thanks guys,
I'll take a look at this.
Strick
Re: Listview header template?
Hey,
Let us know how you get on, and if you are still struggling.
Gary