Hello...I am building a WinForms Application in C# .NET
The WinForms Application has a ComboBox where the DropDownStyle is set to DropDownList. When the App is launched, I read an XML file to populate the values of the ComboBox. And, at this time, nothing is selected in the ComboBox by default. As a result, buttons Change and Delete are...
I have a datagridview with 3 comboboxes.
When in combobox 1 (=Rownumber = 1) AA is selected then at runtime combobox2 has to be filed with some value.
This value is comming from a DataTable.
When some value is selected in combobox2 (Also RowNumber = 1), then at runtime combobox3 (also RowNumber = 1) has to be filled with some value also...
I am receiving an error message "Recursive call to Automation Peer API is not valid" when loading a datagrid with a datatemplatecolumn containing a combobox column. The error ends up caught in our unhandled exception code. This seems to be an issue on my machine, and google has provided no source of guidance on resolving the issue. The i...
I'm wondering if I can make fake sections in the popup menu:
The rule would be, if the 5th character of the displayed item is different from the 5th char of the previous item in the menu, it has to be highlighted
What do you think?
Thanks!
...
Hi all
I have a combobox which is databound to a list of elements. But in addition to that list of elements, i want to have another item. This item should display the text 'New...'
The idea is if they select one of the normal elements, it performs some action involving that element. If they select the 'New' element, it will take them to ...
Hi,
I have 2 select inputs and I filling them with an array of years. After that I want to set currentYear the selected value for every Select. I hacve this code but only works with first Select I don't understand why.
EDIT 2
Everything works great with jQuery 1.4.3, 1.4.2 fails :_(
EDIT
I'm trying this without success :-( only fisr...
I need to create a Flex component similar to ComboCheck (by Arcadio Carballares).
What I need is a ComboBox with CheckBox and TextInput instead of Checkbox's label.
If CheckBox is selected the TextInput is enabled and editable, other way it's disabled.
Do you have an idea of the easiest way to achieve it?
...
Hi, I am a little stuck. I can't figure out a much bigger problem than this, so I am going to the roots to eventually build my way up!
I can't print the selected item in the combo box, currently I have an ActionListener for it:
box.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt) {
myBox(...
Hey,
A combo box as an item renderer for a data cell in a Flex Datagrid has been demostrated at various blogs. What if that combo box has to have an external dataprovider that has to be set at the time of converting the renderer class to a ClassFactory.
Can this be done? Or is there a workaround?
Thanks in advance.
...
Hello guys.
I've got combobox binded to string[].
I haven't got clear combobox items. But I want measure my dropown items.
How can I get width of items in combobox at runtime. I need this to manage width of my combo.
...
Hi,
Over the past 5 months we have been prototyping GWT and setting up the infrastructure. WE are using GXT for the widgets with MVP and Command Pattern implementations. However, we are currently looking to do a spike on a ComboBox with autosuggest from a live Database. I would like to do this in the framework of the MVP and Command pat...
hello,
i have combobox (in fact, several of them), with elements that are added dynamicly.
using jQuery, i don't know how to implement function that will return id of item i selected in combo...
i know that it have to be something using .live(), something like
$(".foo").live("change", function() {
do something;
});
... but i don'...
This code is not setting right value to the combobox. This is because, those are from different contexts.
In addition, in my actual problem, neither overloading == in nor overriding Equals() in MyClass is working as well.
Any alternative way?
How to solve this problem?
MyClass.cs
public class MyClass
{
public int ID { ...
I have a windows forms DataGridView that contains some DataGridViewComboBoxCells that are bound to a source collection using DataSource, DisplayMember and ValueMember properties. Currently the the combobox cell commits the changes (i.e. DataGridView.CellValueChanged is raised) only after I click on another cell and the combobox cell lose...
I'm trying to implement what seems to be the standard UI replacement for comboboxes in Windows Phone 7. This is the TextBox + Navigate to New Page with Listbox approach you can see in the settings page of the Emulator.
I got the following issues while trying to implement this approach, speficically related to the TextBox:
If I use a R...
Here is my code.
for example TextBox1.Text= 12,34,45,67,67
Dim process_string As String() = TextBox1.Text.Split(New Char() {","})
Dim process As Integer
For Each process In process_string
Combo1.Items.Add(process)
count = count + 1
Next process
total_process.Text = cou...
This question is pretty simple, but I'm not seeing why the code isn't working?
Here's how I set the members of a ComboBox I have on my form:
private void LoadUsersToComboBox()
{
ScansEntities3 db = new ScansEntities3();
comboBox1.DataSource = db.People;
comboBox1.DisplayMember = "Name";
comboBox1.ValueMember = "ID";
}
...
i want to return selected item from comboBox in separate thread ? win application ( c# )
error message:
Cross-thread operation not valid: Control 'comboBox3' accessed from a thread other than the thread it was created on.
any one can help me plz ......
...
I want to show rich text in dropdown control, for which I am using the following renderer.
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
<![CDATA[
import spark.utils.TextFlo...
I've been trying to make a ComboBox which would suggest options as you type, much like an IDE's code suggestions/code-sense, or googles suggestions when you type in a search.
The suggestions would be the items from the ComboBox dropdown, which contained the substring typed in the text box of the ComboBox.
I've tried to make a ComboBox ...