473,383 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Listbox horizontal scroll

hi all...
i have a listbox in a webform and i wanna know if there´s way to put
horizontal scroll in it. I tried HorizontalScrollbar = True, like windows
forms but it didn´t work.

Anyone can help me?

Thanks,
André
Nov 19 '05 #1
4 1974
Using CSS you should be able to set a specific width and specify
overflow-x:scroll;

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:uc**************@TK2MSFTNGP12.phx.gbl...
hi all...
i have a listbox in a webform and i wanna know if there´s way to put
horizontal scroll in it. I tried HorizontalScrollbar = True, like windows
forms but it didn´t work.

Anyone can help me?

Thanks,
André

Nov 19 '05 #2
Hi Karl,
thanks for your help, but this code didn´t work. It looks fine in Visual
Studio but when I execute my web form it continues normal, without
horizontal scrollbars. I´m using a web control listbox, not a lista box from
html.

Thanks,
André
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
escreveu na mensagem news:eg**************@TK2MSFTNGP10.phx.gbl...
Using CSS you should be able to set a specific width and specify
overflow-x:scroll;

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:uc**************@TK2MSFTNGP12.phx.gbl...
hi all...
i have a listbox in a webform and i wanna know if there´s way to put
horizontal scroll in it. I tried HorizontalScrollbar = True, like windows forms but it didn´t work.

Anyone can help me?

Thanks,
André


Nov 19 '05 #3
Certainly looks like I misinformed you. I assumed it would work. You are
right, it doesn't. After some searching, i found a lot of people asking,
and an equal amount of people saying it couldn't be done....

Sorry....

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
Hi Karl,
thanks for your help, but this code didn´t work. It looks fine in Visual
Studio but when I execute my web form it continues normal, without
horizontal scrollbars. I´m using a web control listbox, not a lista box
from
html.

Thanks,
André
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
escreveu na mensagem news:eg**************@TK2MSFTNGP10.phx.gbl...
Using CSS you should be able to set a specific width and specify
overflow-x:scroll;

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:uc**************@TK2MSFTNGP12.phx.gbl...
> hi all...
> i have a listbox in a webform and i wanna know if there´s way to put
> horizontal scroll in it. I tried HorizontalScrollbar = True, like windows > forms but it didn´t work.
>
> Anyone can help me?
>
> Thanks,
> André
>
>



Nov 19 '05 #4
It´s ok, thanks anyway.

--
André

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
escreveu na mensagem news:e9**************@TK2MSFTNGP15.phx.gbl...
Certainly looks like I misinformed you. I assumed it would work. You are
right, it doesn't. After some searching, i found a lot of people asking,
and an equal amount of people saying it couldn't be done....

Sorry....

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:Ol**************@TK2MSFTNGP09.phx.gbl...
Hi Karl,
thanks for your help, but this code didn´t work. It looks fine in Visual
Studio but when I execute my web form it continues normal, without
horizontal scrollbars. I´m using a web control listbox, not a lista box
from
html.

Thanks,
André
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
escreveu na mensagem news:eg**************@TK2MSFTNGP10.phx.gbl...
Using CSS you should be able to set a specific width and specify
overflow-x:scroll;

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"André Nobre" <andre.nobre@[SPAM]bsitecnologia.com.br> wrote in message
news:uc**************@TK2MSFTNGP12.phx.gbl...
> hi all...
> i have a listbox in a webform and i wanna know if there´s way to put
> horizontal scroll in it. I tried HorizontalScrollbar = True, like

windows
> forms but it didn´t work.
>
> Anyone can help me?
>
> Thanks,
> André
>
>



Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Brian | last post by:
Hi, All, I'm using MS.net 2003 and using a windows.forms.listbox control for my window application but I don't know why the Horizontal Scrollbar could NOT be shown even if I set...
0
by: Max | last post by:
How do you get the Horizontal Scroll Bar to appear in a listbox with drawmode set to OwnerDrawVariable? Like I have HorizontalScrollBar property set to true but when the text in the listbox entry is...
1
by: prathima | last post by:
I have a problem in the ListBox - Webcontrol(ASP.NET). If the length of the string exceeds the width of the ListBox, I am unable to view the full string, since the horizontal scroll bar does not...
0
by: Valerie Hough | last post by:
I have created an owner draw ListBox object. I have added an HScrollBar control to its Control collection. I have set the Anchor property to AnchorStyles.Bottom and the Dock property to...
2
by: Lloyd Sheen | last post by:
I have searched wide and far through google for a solution to no avail. Is there a method available to add a horizontal scroll bar to a listbox in asp.net. Thanks in advance
2
by: Tina | last post by:
Am I missing something or does the listbox web control not have a horizontal scroll capability? Thanks, T
3
by: Vidds | last post by:
Hi Everyone, How come Server listbox control does not have a Horizontal Scroll Property? If any one has an idea how we add a Horizontal scroll to a listbox or dropdown list box it would be quite...
0
by: twirl | last post by:
I have a problem in the ListBox - Webcontrol(ASP.NET). If the length of the string exceeds the width of the ListBox, I am unable to view the full string, since the horizontal scroll bar does not...
5
by: WRH | last post by:
Hello I want to have a multicolumn listbox. I never used one before so I looked at a Help example. I set the multicolumn property and the column width and tested with this example... ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.