combobox

WPF Setting the colour of the ComboBox down arrow button

I am trying to style a WPF ComboBox so that it matches a black-theme that is being considered for our next project. My problem is that if the ComboBox's background is black, the button doesn't show up (since it is also black). For some reason I have not been able to find any information about how to change it's colour. The following X...

Flex4: Combo Box with CheckBox Inside.

Hi, Apologies for all the simple questions but they are born of my sudden and unplanned migration from flex 3 to flex 4. Ok I have a combo box which I would like to show a list of selectable check boxes. <s:ComboBox x="181" y="-7" width="233" id="dropISLIST" itemRenderer="IsListFilterCheckBox" dataProvider="{GetIsList.lastResult.Rep...

Cascading ComboBoxes in ExtJS EditorGridPanel

I have a working EditorGrid panel, where two columns have ComboBox editors. Both ComboBoxes are loaded remotely from database (countryStore and cityStore). I would like to limit the cityComboBox to show only cities in the selected country. I need to reload the cityStore with a filter from database (there are too many cities to filter lo...

Combobox Text displays different than in the Dropdown.

I want to have a combobox with dropdown list of codes and definitions, but only display the definition of the selected item in the textbox part. For example, Y-Yes and N-No in the dropdown, and when Y is selected, only display Yes in the textbox. ...

How to avoid overlaying strings in a customized combobox dropdown panel while scrolling?

Hello everybody! I have an odd problem with an enhanced WinForms ComboBox I wrote in C#. The box shows a list of colors with the color itself and the name of the color and is set to ComboBoxStyle.DropDownList, double buffering and DrawMode.OwnerDrawFixed. The items are drawn when the DrawItem-event is raised. If I open the DropDown men...

ComboBox.ValueMember problem during subelements creation

Hi everyone, I have some problem with my combobox, I'm trying to fill it with some values from database, everything work fine, except the fact that last line of this code (with ValueMember in it) generate UnknownException in free translation it says that it cannot create a list of sub elements for the "table" field. connection = new My...

WPF combo box Image as tooltip

Dear friends, I am creating a WPF application which contains a combobox.When there is a mouse over on the combo box, suppose the combo contains the strings apple and orange, I need to show the corresponding image as a tooltip. I got a sample application from the following link. http://diptimayapatra.wordpress.com/2010/03/05/image-in-t...

Refresh problem for combobox

I have a combox box which is bind with dependencyproperty My itemsource is bind to arraylist of string and the selectedValue to a string I want to modify the combobox context by code The first one is it OK but as i click in my comboxbox and after i want to change her contains it doesn' work My xmal <ComboBox Name="ComboCateg3" Sele...

How to enable/disable jquery ui comboboxes?

I use jquery UI. I have 3 comboboxes and I need to enable each field if the previous one filled. jQuery(document).ready(function(){ $("#box1").combobox(); $("#box2").combobox(); $("#box3").combobox(); }); ...

Dynamic ComboBox Datasource Form Load

Hi all, I'm creating a dynamic combo box and adding to a form. I'm trying to fill the combo box with a DataSource from an ArrayList and then selecting an item in the combo box based off a value from a property. Problem is, the combo box items don't get bound until after the Form_Load event has finished and the form is visible. So the...

asp.net ajax combobox: getting ArgumentOutOfRangeException unexpectedly

I've some tables in my db with the following structure. I've two asp.net ajax comboboxes in the same update panel which is supposed to load data based on the tables mentioned above. <asp:UpdatePanel ID="updatesetloc" runat="server"> <ContentTemplate> <p> <asp:ComboBox ID="cbloc" runat="server" AutoPostBack="Tr...

ExtJs Combo selectedValue

Hi, I am using roweditor and inside the row i have a combo. in the grid, the combo column is the symbol_id (number). how do i make the combo/grid understand that symbol_id 22 is actually 'EURUSD'. and force the grid display EURUSD and not 22. Thanks. this is my store: 'displayField' : 'symbol' ,'valueField' : 'symbol_id' ,SimpleStore(...

How to display a different value for dropdown list values/selected item in a WPF ComboBox?

I have a WPF combobox bound to a list of items with long descriptions. The type bound to the ComboBox has both short and long description as properties. Currently, I am binding to the full description. comboBox.DisplayMemberPath = "FullDescription"; How to ensure that when the item is selected and displayed as a single item in the co...

WPF Combobox Items Vanishing/Reappearing from dropdown

I have an itemtemplate for a listbox, that is bounds to objects in a list. The properties of each of the objects in this list is bool, List< string >, string, string. Bool is mapped to the checkbox, the List< string > feeds the dropdown on each of the rows, and the remaining two strings are mapped to each of the textboxes. All fine - ...

combobox with different datacontext for ItemsSource and SelectedItem

So i have a combobox as the CellEditingTemplate of a datagrid and selected item is bound to the datacontext of that row as expected, but i need the combobox to be populated from a ObservableCollection outside of the context of the datagrid from the ViewModel. How could i acheive this? Thanks ...

IsDropDown on IsMouseOver of ComboBox is killed by ONE mouseclick on WPF ComboBox WHEN it opens

This is the Style set to my ComboBox. When I hover the ComboBox, the popup opens/slides and then right at the moment where it opens I click on it which is closing the combobox because I have choosed an item. The next time I hover the combobox is does not open anymore... Why? <Style x:Key="GroupViewModelStyle"> <Style.Trigg...

Silverlight ComboBox

what is the name of the property to set the number of items displayed when the list pops up? ...

NHibernate object id is returning incorrect value

I am using NHibernate and this is not a Homework. Suppose I have retrieved an object of type Faculty(suppose Faculty of Engineering in the University of XYZ) from the database. It has 5 child objects associated with it of type Department and should contain IDs 2,4,5,8 and 9 according to the database-table. My 1st problem is, I see that...

Extjs combobox Value field

Hi, I'm using extjs in codeigniter(php framework) I want to store Value field of combobox in data base i gave displayField:'name', valueFiled:'id' for the combobox but when i used $this->input->post(combofield name); but its returning displayFiled; How to get vlueField in post ...

Show ComboBox on Datagrid row edit, WPF

Hi, I have a DataGrid with data in my WPF 4 desktop-based application. When user click twice on row DataGrid switches to edit mode, where user can change values of cell. Now I want that on specific cell user could only choose values from combobox, e.g. sex — mail/female and not to type something else. How can I show comboox on edit mod...