I'm aware of JList and JComboBox.....i need the combo box drop down functionality with multiple selection functionality that JList provides....
This is because the contents of the list are too huge to be displayed using a simple list. I also need to select multiple items, otherwise i would have been content with JComboBox.
Any suggesti...
I have a dropdownlist that gets data through entity objects, but with a navigation. But I get an error trying to do this, can anyone help me please. <asp:DropDownList ID="ddlVacancy" DataValueField="ID" DataTextField='<%# Eval("Position.Name") %>'
runat="server" Width="200px"/>
...
So I have a s:DropDownList with data from service. When an Item from recived list is selected I perform some action (lets call it Action A) I want to add an item visible in list so that when user selects that one item I'll perform another action (lets call it Action B).
Toda when I use such code to fill my list:
<s:DropDownLi...
I have the following code in my controller (for Edit and Create):
model.Templates = new SelectList(PageManagementService.PageTemplateFetchList(), "PageId", "Title", 213);
the "213" is an Id for one of the pages - just using it for testing.
And this is in my view (for Edit and Create):
<%= this.Html.DropDownListFor(model => model.Pag...
I have a need to add custom HTML attributes, specifically classes or styles to option tags in the selects generated by Html.DropDownFor().
I've been playing with it, and for the life of me I can't figure out what I need to do to get what I need working.
Assuming I have a list of colors that I'm generating the dropdown for, where the op...
One of the drop down lists in my Java SWT application has 8 fixed options. When I click on it only 5 first options are visible and I have to scroll the list down to view the rest.
Is there any way to force it to make all options visible without having to scroll down?
There is another similar .NET application that has same drop down lis...
consider my dropdownlist has,
o select
1 hot
2 cold
3 warm
i want to get warm (ie)get last option value of a dropdownlist using c#?
...
I'm experiencing what seems to be a caching issue with Google Chrome and Safari on my cart page. In the cart there are 2 dropdown lists. When you hit the checkout button after changing the values in the dropdown lists, it commits what's selected in the lists to the database.
It's a little bit hard to explain the unexpected behavior so I...
I have an ASP.NET GridView that has four columns. The first three are typical BoundField elements bound to a DataTable. The forth is a TemplateField element that I create a DropDownList in on the OnRowCreated event for the GridView.
What I'm attempting to do is walk down the data source for the GridView when a button is pressed. I re...
Hi
I want to have a drop down menu where a user can select from several predefined options but i also want to give him the option of inserting a user specific value, i was thinking having one of the options as "user specific" which will in turn allow the user to insert a user specif entry in a text box that appears or is editable when u...
In my application a ComboBox gets resized, so that it is smaller. How do I re-calculate the DropDownWidth property? I know how to set it, but I'd prefer to calculate the proper width because its contents changes. Preferabley, I was thinking of something along these lines:
int iMaxLen = 0;
foreach item in comboBoxList
{
iMaxLen = (...
I have data coming from two tables with a foreign key relationship - one User table containing users of the web application, and one Page table containing details about pages visited by each user.
I would like to be able to view these data in a gridview or the like on a page. It's easy enough to just show the User table data like so (I'...
I'm working with a custom DropDownList control in ASP.Net and there's been a request to display certain items in the list with a bold typeface (NOTE - the control inherits from CompositeDataBoundControl so it can be data bound... not DropDownListBox). The control is bound to a table and there's a column in the table named IsUsed - if th...
I'd like to have a DropDownList that has a CheckBox next to each item that would allow multiple to be selected. I did a little poking around but haven't found anything that will do this, does anyone know if this can be easily achieved?
I know it can be done with a listBox, but would prefer the dropdown format to save space.
...
Is there a way of using a templated helper in mvc so that each and every select list in my project has a custom default 'Choose an option' with null value etc.
The posts I have seen seem a little complex, is it possible to have a DropDownList.ascx file in shared view folder with something like this:
<%@ Control Language="C#" Inherits=...
Is there any way around the following?
I have a few dropdown lists bound to lookup tables in SQL Server.
Some old records imported from a previos version of the system won't open due to data in these fields not matching the current dropdown data.
Other than adding the old data to the lookup table (which I don't want to do), is there a ...
Hi
So, I have a form to submit fighters. You write his/her name, country, and then the team they fight for + the team's country.
When you start typing the name I have constructed my own Ajax AutoCompleter. It will find existing fighters that might match.
When you click on one of the suggestions it will populate up to four fields depen...
How do I change the BackColor of the textbox area in an asp.net DropDownList from white to another color? The Backcolor property changes only the drop down section.
...
Hi,
I am trying to concatenate two fields from a list to display in a dropdown.
Below is the code i am trying to use. I don't want to change the model of my products so I was trying to do something like that below but I can't figure anything out without building out my own object with the fields concatenated.
skuDropDown.D...
I want to display a different form for different selections of this drop down list:
<label>
<select name="type" id="type">
<option value="object" selected="selected">Object</option>
<option value="number">Number</option>
<option value="text">Text</option>
<option value="date">Date</option>
<option value="time">Time</option>
<option ...