473,563 Members | 2,767 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1227
there is a property "size" (or something like that) It controls it.

George.
<sa*********@gm ail.comwrote in message
news:11******** *************@i 13g2000prf.goog legroups.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*********@gm ail.comwrote in message
news:11******** *************@i 13g2000prf.goog legroups.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.mic rosoft.comwrote in message
news:3D******** *************** ***********@mic rosoft.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*********@g mail.comwrote in message
news:11******* **************@ i13g2000prf.goo glegroups.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
2770
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 Description"></asp:BoundColumn> <asp:TemplateColumn runat="server" HeaderText="Id Type Option" "> <itemtemplate> <asp:label runat="server" Text='<%#...
2
4166
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. What is the solution. The DropDownList control is able to refer in javascript like document.Form.DropDownList.value
2
1878
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 the top showing different panels. A DropDownList with a 50+ value/text entries exists on more than one panel but only one will be displayed at a...
1
960
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 can manipulate a TextBox' appearance by using a style definition, but this doesn't seem to work with DropDownLists, thus resulting in an...
2
1379
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 every menuitem to be in a larger font. Any ideas, clues, pointers? J. Jespersen
3
970
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 false then event is not getting raised. why this is happening. please help me. Thanks in advance.
2
1233
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 asking how to do it from Visual Basic .NET not from VBA. It is easy to do it in Excel but I want to do it from my VB.NET application. Thanks in...
1
1387
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 item I should get the value of the selected item in vb code behind as Dim myval as string myval = Request("mydropdownlist") This works in a page...
1
7186
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 list to the top of the page or to the bottom of the page. So I fixed the size of that control as 5. Now the size of the list has increased to 5 &...
0
7665
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
7888
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. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
924
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.