473,569 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 HorizontalScrol lbar = True, like windows
forms but it didn´t work.

Anyone can help me?

Thanks,
André
Nov 19 '05 #1
4 1982
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.c om.br> wrote in message
news:uc******** ******@TK2MSFTN GP12.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 HorizontalScrol lbar = 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******** ******@TK2MSFTN GP10.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.c om.br> wrote in message
news:uc******** ******@TK2MSFTN GP12.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 HorizontalScrol lbar = 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.c om.br> wrote in message
news:Ol******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP10.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.c om.br> wrote in message
news:uc******** ******@TK2MSFTN GP12.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 HorizontalScrol lbar = 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******** ******@TK2MSFTN GP15.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.c om.br> wrote in message
news:Ol******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP10.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.c om.br> wrote in message
news:uc******** ******@TK2MSFTN GP12.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 HorizontalScrol lbar = 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
540
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 HorizontalScrollbar = true. The text info in listbox already beyond its right edge. How can I see the hidden part info in listbox? here is a part of codes. ...
0
1211
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 long the scroll bar does not appear. Any ideas how to do that? Cheers, Max
1
2449
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 exist. How do we include a horizontal scroll bar for a list box in a web control? Thanks in advance... Prathima
0
1206
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 DockStyle.Bottom. When the list box is first displayed on my form the horizontal scroll bar is in the correct place. However, when I scroll the list box...
2
2357
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
4402
by: Tina | last post by:
Am I missing something or does the listbox web control not have a horizontal scroll capability? Thanks, T
3
2507
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 helpful.Thanks in advance Regards Vidds
0
975
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 exist. How do I include a horizontal scroll bar for a list box in a web control? Alternativly how do I set a tool tip on the listboxitem? Thanks...
5
17729
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... this.listBox3.Items.AddRange(new object { "Item 1, column 1", "Item 2, column 1", "Item 3, column 1",
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5222
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.