473,587 Members | 2,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying DropDownList values

Hi,

I have sec´veral dropdownlists in a webform.

One of them show month names 'Jan ... Dec'. When I click on it, it opens and
ONLY shows 11 months and a scrollbar, thus I have to scroll to see 'Dec'.

How can I get it showing all twelwe months without a scrollbar?

TIA

Kenneth P
Nov 19 '05 #1
1 953
I think that you can modify the drop down lists length, direclty in vs .net
2003, or if you set it by code.

"Kenneth P" wrote:
Hi,

I have sec´veral dropdownlists in a webform.

One of them show month names 'Jan ... Dec'. When I click on it, it opens and
ONLY shows 11 months and a scrollbar, thus I have to scroll to see 'Dec'.

How can I get it showing all twelwe months without a scrollbar?

TIA

Kenneth P

Nov 19 '05 #2

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

Similar topics

3
1315
by: Deepa | last post by:
Hi Am doing a web app which has a datagrid with template columns. One of the columns has dropdowns for each row. I also have the EditCommandColumn. The problem am facing is I just see the last value of the dataset for the dropdowns(in the non-edit mode). and moreover its just showing it as a label instead of a dropdown. But once I click the...
0
1104
by: Jim French | last post by:
I thought I would share this (semi) annoying issue I had. Basically, the DropDownList I was trying to bind inside a Repeater with the ItemDataBound event was not working - instead of a normal listbox, I was getting a row of string values. The problem was that I left out the closing '>' from the literal control that was directly in front of the...
2
2393
by: Eric Dan | last post by:
Hi, Even tough I was able to implement what I want in a weird and non efficient way, I would like to get an opinion what is the right way to achieve my task: Scenario: • Display a DataGrid that contains rows from a table from a databse (so far easy). • I would like to add a column to the DataGrid that will be a drop-down list so the...
10
6363
by: ads | last post by:
hi, after binding the dropdownlist to a datasource, ive experience this error "Cannot have multiple items selected in a dropdownlist" after using the code: dropdownlist.items.findbyvalue("value").selected = true I didnt specify any selected item in the dropdownlist during binding to the datasource. I use dropdownlist.clearselection() but...
2
1252
by: Dabbler | last post by:
I have a number of rows in a GridView Column which don't have values for the DropDownList, is there a way to hide the control if it has no data? Here's my code: <ItemTemplate> <asp:DropDownList ID="RideDatesDropDownList" runat="server" DataSourceId="RideDatesSqlDataSource" DataTextField="RideDate" DataValueField="RideDate"...
6
3260
by: Zeba | last post by:
Hi, I have a page with a calendar and two datalist items - one containing month values and the other, year values. Depending on the month/year value chosen ( in text/string format ) I should be able to display the correct month of the calendar. I thought it would be possible to use the OnSelectedIndexChanged attribute of the dropdown...
1
1153
by: rajiv Joshi | last post by:
Hi all I m displaying locations from database in the dropdownlist box using C# .Its displaying all locations properly but when i select loacation from dropdown it is always displaying first item say Bhopal as selected and but i want to select any item it is not getting selected. Can anybody pls tell me what might be the reason?
2
9946
by: sree reddy | last post by:
..cs using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
0
1514
by: cmrhema | last post by:
Hi, I have two controls one html select control and one asp.net dropdownlist control. In html select control i have three maps loaded. It is loaded in the following manner. <SELECT class="TextBoxLabel" id="ddlMap" style="WIDTH: 128px;" tabIndex="1" onchange="fnChangeMap();" name="ddlMap" runat="server">
5
1462
by: vijeyashobana | last post by:
Hi all I have a .ascx with a button and dropdownlist controls. When I click it I want to display some values in the dropdownlist. But on btn_click I don't see the values in the ddl. When I debug I see that ddl's Datasource is set. But the problem is those values are not displayed on screen. Where is it I am going wrong? Please help. I have...
0
7852
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
8349
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
7974
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
8221
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
6629
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...
1
5719
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
5395
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
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
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

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.