473,386 Members | 1,720 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,386 software developers and data experts.

regarding the apperance of dropdownlist

hi to everyone,
just help me out to do this.
On my page i have a dropdownlist control,which contain 80 items.
when i select the dropdownlist.i am able to veiw 35 items of the list
at single look.
which gives a odd apperance.
i want to restrict the no.of items visible to 10 at a single instance.
plz tell me the solution.

Aug 13 '07 #1
3 1215
there is a property "size" (or something like that) It controls it.

George.
<sa*********@gmail.comwrote in message
news:11*********************@i13g2000prf.googlegro ups.com...
hi to everyone,
just help me out to do this.
On my page i have a dropdownlist control,which contain 80 items.
when i select the dropdownlist.i am able to veiw 35 items of the list
at single look.
which gives a odd apperance.
i want to restrict the no.of items visible to 10 at a single instance.
plz tell me the solution.

Aug 13 '07 #2
Hello,
size does not control number of items in drop down it says how many rows are
shown. If size is set control will be rendered as list box. If size is not
set control will be rendered as drop down.

Regards,
Ladislav

"George Ter-Saakov" wrote:
there is a property "size" (or something like that) It controls it.

George.
<sa*********@gmail.comwrote in message
news:11*********************@i13g2000prf.googlegro ups.com...
hi to everyone,
just help me out to do this.
On my page i have a dropdownlist control,which contain 80 items.
when i select the dropdownlist.i am able to veiw 35 items of the list
at single look.
which gives a odd apperance.
i want to restrict the no.of items visible to 10 at a single instance.
plz tell me the solution.


Aug 13 '07 #3
Oops, you right, did not read the question carefully. Thought the guy is
asking about setting size of the listbox.

George.

"Ladislav Mrnka" <La***********@discussions.microsoft.comwrote in message
news:3D**********************************@microsof t.com...
Hello,
size does not control number of items in drop down it says how many rows
are
shown. If size is set control will be rendered as list box. If size is not
set control will be rendered as drop down.

Regards,
Ladislav

"George Ter-Saakov" wrote:
>there is a property "size" (or something like that) It controls it.

George.
<sa*********@gmail.comwrote in message
news:11*********************@i13g2000prf.googlegr oups.com...
hi to everyone,
just help me out to do this.
On my page i have a dropdownlist control,which contain 80 items.
when i select the dropdownlist.i am able to veiw 35 items of the list
at single look.
which gives a odd apperance.
i want to restrict the no.of items visible to 10 at a single instance.
plz tell me the solution.



Aug 13 '07 #4

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

Similar topics

12
by: Stanley J Mroczek | last post by:
How do you load a dropdownlist when edit is clicked in a datagrid ? <Columns> <asp:BoundColumn DataField="OptionDescription" ItemStyle-Wrap="True" HeaderText="Option...
2
by: Suresh.P.R | last post by:
Hi, While using the RadioButtonList control, that I populated in the runtime, I am not able to get the selected item in the javascript while referring document.Form.RadioButtonList.value. ...
2
by: Wysiwyg | last post by:
I was hoping to get some opinions on the efficiency of various methods of reusing the same dropdown list data. Here is the situation: Multiple panels on maintenance pages with TAB menus across...
1
by: matthias s. | last post by:
Hi there, Is there a way to safely (meaning, it yields identical results in most browsers) customize the appearance of standard WebControls such as a TextBox or a DropDownList? I know that I...
2
by: J. Jespersen | last post by:
Hi people, I'm trying to build a menu i asp.net 2.0 (RC) using the Menu control and an XmlSiteMapProvider. I want all letters of my menuitems to be capitalized, but i want the first letter in...
3
by: trialproduct2004 | last post by:
hi all i am new to asp.net can some one tell me use of autopostback of dropdownlist. When i set this property to true my selectionchanged event is getting fired. but when this property is set to...
2
by: Tomek | last post by:
Hi, Please help me with this. I'm exporting data to excel file and I want to customize its apperance (i.e. bold columns name, auto size colums width, freeze some columns). Is it possible? I'm...
1
by: Robert Dufour | last post by:
I have a content page in a site that references a master page. In the content page I have an aspnet Dropdownlist control that has autopostback set to true. I think that when I select another...
1
by: Valli | last post by:
Hi, I need to populate a dropdownlist control with values. Number of items for that list exceeds 100. I am using Html select list option. When I drop down the list control, it shows the item...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.