I have an ASP DropDownList control with 40 ListItems. I want to limit
the display (after the user clicks the down-arrow) to show only 10
items and a scrollbar. Does anyone know how to do this?
Thanks,
Re: DropDown List Question
am 25.01.2008 18:42:24 von gnewsgroup
On Jan 25, 12:36 pm, marksommervi...@yahoo.com wrote:
> I have an ASP DropDownList control with 40 ListItems. I want to limit
> the display (after the user clicks the down-arrow) to show only 10
> items and a scrollbar. Does anyone know how to do this?
>
> Thanks,
A DropDownList does not have a scroll bar, maybe you are talking about
ListBox? And if that's the case, I guess you can rebind the ListBox
when some event happens.
Re: DropDown List Question
am 25.01.2008 18:46:57 von marksommerville
On Jan 25, 9:42 am, gnewsgroup wrote:
> On Jan 25, 12:36 pm, marksommervi...@yahoo.com wrote:
>
> > I have an ASP DropDownList control with 40 ListItems. I want to limit
> > the display (after the user clicks the down-arrow) to show only 10
> > items and a scrollbar. Does anyone know how to do this?
>
> > Thanks,
>
> A DropDownList does not have a scroll bar, maybe you are talking about
> ListBox? And if that's the case, I guess you can rebind the ListBox
> when some event happens.
Thanks for the reply but a dropdownlist always displays a scrollbar
after the user clicks the down-arrow to display the options and when
there are more items than it can display. I want to be able to control
the number of items displayed.
Thanks
Re: DropDown List Question
am 25.01.2008 19:02:00 von adwb
If you change the size attribute of an HTML
Re: DropDown List Question
am 25.01.2008 19:03:20 von gnewsgroup
On Jan 25, 12:46 pm, marksommervi...@yahoo.com wrote:
> On Jan 25, 9:42 am, gnewsgroup wrote:
>
> > On Jan 25, 12:36 pm, marksommervi...@yahoo.com wrote:
>
> > > I have an ASP DropDownList control with 40 ListItems. I want to limit
> > > the display (after the user clicks the down-arrow) to show only 10
> > > items and a scrollbar. Does anyone know how to do this?
>
> > > Thanks,
>
> > A DropDownList does not have a scroll bar, maybe you are talking about
> > ListBox? And if that's the case, I guess you can rebind the ListBox
> > when some event happens.
>
> Thanks for the reply but a dropdownlist always displays a scrollbar
> after the user clicks the down-arrow to display the options and when
> there are more items than it can display. I want to be able to control
> the number of items displayed.
>
> Thanks
I guess that's not the standard DropDownList of the .net framework.
Re: DropDown List Question
am 25.01.2008 19:58:23 von marksommerville
On Jan 25, 10:03 am, gnewsgroup wrote:
> On Jan 25, 12:46 pm, marksommervi...@yahoo.com wrote:
>
>
>
> > On Jan 25, 9:42 am, gnewsgroup wrote:
>
> > > On Jan 25, 12:36 pm, marksommervi...@yahoo.com wrote:
>
> > > > I have an ASP DropDownList control with 40 ListItems. I want to limit
> > > > the display (after the user clicks the down-arrow) to show only 10
> > > > items and a scrollbar. Does anyone know how to do this?
>
> > > > Thanks,
>
> > > A DropDownList does not have a scroll bar, maybe you are talking about
> > > ListBox? And if that's the case, I guess you can rebind the ListBox
> > > when some event happens.
>
> > Thanks for the reply but a dropdownlist always displays a scrollbar
> > after the user clicks the down-arrow to display the options and when
> > there are more items than it can display. I want to be able to control
> > the number of items displayed.
>
> > Thanks
>
> I guess that's not the standard DropDownList of the .net framework.
It is the standard control. Try creating a DDL with 90 items and see
what happens when you expand it.
Re: DropDown List Question
am 25.01.2008 20:00:31 von marksommerville
On Jan 25, 10:02 am, adwb wrote:
> If you change the size attribute of an HTML
Re: DropDown List Question
am 25.01.2008 21:46:49 von Larry Bud
On Jan 25, 2:00=A0pm, marksommervi...@yahoo.com wrote:
> On Jan 25, 10:02 am, adwb wrote:> If you change th=
e size attribute of an HTML