Friday, March 16, 2012

Listbox horizontal scroll

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

Anyone can help me?

Thanks,
AndrUsing 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$FHAkhFHA.3256@.TK2MSFTNGP12.phx.gbl...
> hi all...
> i have a listbox in a webform and i wanna know if theres way to put
> horizontal scroll in it. I tried HorizontalScrollbar = True, like windows
> forms but it didnt work.
> Anyone can help me?
> Thanks,
> Andr
Hi Karl,
thanks for your help, but this code didnt work. It looks fine in Visual
Studio but when I execute my web form it continues normal, without
horizontal scrollbars. Im 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:egMQYklhFHA.1052@.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$FHAkhFHA.3256@.TK2MSFTNGP12.phx.gbl...
> > hi all...
> > i have a listbox in a webform and i wanna know if theres way to put
> > horizontal scroll in it. I tried HorizontalScrollbar = True, like
windows
> > forms but it didnt work.
> > Anyone can help me?
> > Thanks,
> > Andr
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:OlAmzMuhFHA.1416@.TK2MSFTNGP09.phx.gbl...
> Hi Karl,
> thanks for your help, but this code didnt work. It looks fine in Visual
> Studio but when I execute my web form it continues normal, without
> horizontal scrollbars. Im 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:egMQYklhFHA.1052@.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$FHAkhFHA.3256@.TK2MSFTNGP12.phx.gbl...
>> > hi all...
>> > i have a listbox in a webform and i wanna know if theres way to put
>> > horizontal scroll in it. I tried HorizontalScrollbar = True, like
> windows
>> > forms but it didnt work.
>>> > Anyone can help me?
>>> > Thanks,
>> > Andr
>>>>
>>
Its ok, thanks anyway.

--
Andr

"Karl Seguin" <karl REMOVE @. REMOVE openmymind REMOVEMETOO . ANDME net>
escreveu na mensagem news:e9nun#yhFHA.2180@.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:OlAmzMuhFHA.1416@.TK2MSFTNGP09.phx.gbl...
> > Hi Karl,
> > thanks for your help, but this code didnt work. It looks fine in Visual
> > Studio but when I execute my web form it continues normal, without
> > horizontal scrollbars. Im 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:egMQYklhFHA.1052@.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$FHAkhFHA.3256@.TK2MSFTNGP12.phx.gbl...
> >> > hi all...
> >> > i have a listbox in a webform and i wanna know if theres way to put
> >> > horizontal scroll in it. I tried HorizontalScrollbar = True, like
> > windows
> >> > forms but it didnt work.
> >> >> > Anyone can help me?
> >> >> > Thanks,
> >> > Andr
> >> >> >>
> >>

0 comments:

Post a Comment