By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,966 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,966 IT Pros & Developers. It's quick & easy.

Creating a Scrollable Multi-Column List

P: n/a
I am looking to create a multi-column list that is scrollable, kind of like
a ListBox control, only I need a way to align the columns of text that I
will have (I would use spaces, but because the ListBox normally uses a
variable-width font, that would not work). Is there a control like the
DataList (a control that uses templates and databinding) that displays the
items in a scrollable manner? One idea that I had, although it sounds rather
inefficient to me if it works, would be to place a DataList inside a Panel,
and then let the user do the scrolling using the Panel's scrollbar. Anyone
have any suggestions? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Aug 16 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Yes, I'd have the column headings static, then a scrollable div (rendered by
using an asp:Panel) with the content underneath.

"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:uD**************@TK2MSFTNGP06.phx.gbl...
>I am looking to create a multi-column list that is scrollable, kind of like
a ListBox control, only I need a way to align the columns of text that I
will have (I would use spaces, but because the ListBox normally uses a
variable-width font, that would not work). Is there a control like the
DataList (a control that uses templates and databinding) that displays the
items in a scrollable manner? One idea that I had, although it sounds
rather inefficient to me if it works, would be to place a DataList inside a
Panel, and then let the user do the scrolling using the Panel's scrollbar.
Anyone have any suggestions? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Aug 16 '07 #2

P: n/a
Sounds like a gridview to me.

Ross

"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:uD**************@TK2MSFTNGP06.phx.gbl...
>I am looking to create a multi-column list that is scrollable, kind of like
a ListBox control, only I need a way to align the columns of text that I
will have (I would use spaces, but because the ListBox normally uses a
variable-width font, that would not work). Is there a control like the
DataList (a control that uses templates and databinding) that displays the
items in a scrollable manner? One idea that I had, although it sounds
rather inefficient to me if it works, would be to place a DataList inside a
Panel, and then let the user do the scrolling using the Panel's scrollbar.
Anyone have any suggestions? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Aug 16 '07 #3

P: n/a
Hi Nathan,
I assume you have to use panel (as you already tryed) or div with style
overflow:scroll.

Regards,
Ladislav

"Nathan Sokalski" wrote:
I am looking to create a multi-column list that is scrollable, kind of like
a ListBox control, only I need a way to align the columns of text that I
will have (I would use spaces, but because the ListBox normally uses a
variable-width font, that would not work). Is there a control like the
DataList (a control that uses templates and databinding) that displays the
items in a scrollable manner? One idea that I had, although it sounds rather
inefficient to me if it works, would be to place a DataList inside a Panel,
and then let the user do the scrolling using the Panel's scrollbar. Anyone
have any suggestions? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Aug 17 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.