I've been spoiled by GridView!
I have need for something simpler, just basic 2-column lists, no paging, no complex templating, just a list with scrolling as needed.
The attached graphic shows an approximation of what I need. I manipulated height and width settings and was partially successful in creating an outline, but as you can see, instead of scrollbars I get overflow.
I am thinking that maybe I need to embed the ListView control inside a panel or other object to force scrollbars, but then presume the headings themselves will also scroll out of view.
Question 1) is there a better RAD AJAX control?
Question 2) why to the height and width settings have very little effect on this control, when they are spectacular with GridView?
<
telerik:RadListView
ID
=
"RadListView1"
runat
=
"server"
DataSourceID
=
"publication_date_summary"
BorderColor
=
"#3399FF"
BorderStyle
=
"Solid"
BorderWidth
=
"2px"
Height
=
"200px"
Skin
=
"Metro"
Width
=
"300px"
><
LayoutTemplate
>
<
div
class
=
"RadListView RadListView_Metro"
style
=
"max-width:140px; max-height:300px;"
>
<
table
cellspacing
=
"0"
">
<
thead
>
<
tr
class
=
"rlvHeader"
>
<
th
style
=
"width:100px;"
>Decade</
th
>
<
th
style
=
"width:40px;"
>Songs</
th
>
</
tr
>
</
thead
>
<
tbody
>
<
tr
id
=
"itemPlaceholder"
runat
=
"server"
>
</
tr
>
</
tbody
>
</
table
>
</
div
>
</
LayoutTemplate
>
<
ItemTemplate
>
<
tr
class
=
"rlvI"
>
<
td
>
<%-- <
asp:Label
ID
=
"NameLabel"
runat
=
"server"
Text='<%# Eval("Name") %>' />--%>
<
a
href='selector.aspx?
class_id
=
5
&
filter
=
decade
&decade=<%# Eval("pub_date")%>' target="_parent"><%# Eval("pub_date") %></
a
>
</
td
>
<
td
>
<
asp:Label
ID
=
"CountOfIDLabel"
runat
=
"server"
Text='<%# Eval("songs") %>' />
</
td
>
</
tr
>
</
ItemTemplate
>
<
EmptyDataTemplate
>
<
div
class
=
"RadListView RadListView_MetroTouch"
>
<
div
class
=
"rlvEmpty"
>
There are no items to be displayed.</
div
>
</
div
>
</
EmptyDataTemplate
>
</
telerik:RadListView
>