I have two combo boxes on a SL page. When Combo 1 updates, a service is called and populates Combo 2.
On the first call, 3 results are returned. When the combo box is expanded, you can see all 3 options.
On the second call, 4 results are returned. When the combo box is expanded, you can see 3 options, with a vertical scroll bar.
If I...
i want make the combo box editable in c# that is it shouldaccept from key board and from drop doen but it is replacing the thins i want to appent the text typed and selected any help .
...
If I bind a WinForms ComboBox to an enum type's values, i.e.
combo1.DropDownStyle = ComboBoxStyle.DropDownList;
combo1.DataSource = Enum.GetValues(typeof(myEnumType));
Who knows how I could achieve the same result, while, in addition to entries matching each enum value, I can also have a blank entry representing no selection?
I canno...
Hello!
Since I'm just learning C# with .NET, (I have more experience with the XNA framework), I might not use it just the right way.
My problem is from my view very strange. I have made a form with a TabControl inside of it, using the designer. In one of those tab pages I have a ListBox and a ComboBox. The ComboBox has a static number ...
Hi
I am new to Access and i am in the process of creating a database for some of our users. I have designed a form where the user name, first and last name etc are inputted.
Some of these users work for more than one department which means I need some type of listbox control that allows them to select more than one department when they ...
Hello,
I have a combobox bound to a database table.
When the user inserts a new piece of data into the table, I want the combobox to be automatically updated to display this data, however I am unsure of how I would go about doing this.
Help would be greatly appreciated.
...
Hi all,
I have a ComboBox based on XML file data:
<Root>
<Node Background="Yellow" Foreground="Cyan" Image="1.ico" Property="aaaa" Value="28" />
<Node Background="SlateBlue" Foreground="Black" Image="2.ico" Property="bbbb" Value="2.5" />
<Node Background="Teal" Foreground="Green" Image="3.ico" Property="cccc" Value="4.0" />
<Node Backg...
I have a problem with windows combobox when the style is dropdown.the combox contains two values - "hello" and "Hi". I want to show the default value for my windows combobox is "Hello" when the page gets loaded. Now when the style is DropDown it selects the whole text("hello"), which creates confusion betweem first and third control(as f...
Hello!
I am filling items to my ComboBox from a XML file using a DataTable. Currently I have it set so that one column is ComboBox's displaymember and another is it's value member. However this may not always work for me, since I have to set the selectedItem parameter, and value member may not be unique.
I don't know if there is a dupl...
I have a Winforms application and a combobox has it's datasource set to a DataTable when the form loads. The data displays fine in the combobox.
Then after a user clicks a button I want to create a new DataTable and assign that datatable as the datasource for the combobox.
The problem is that after setting the datasource to be the ne...
Hi, I am looking for some good tutorials on building complex forms in Access. In particular, how to get one ComboBox to populate with values based on the selection in another ComboBox.
Cheers!
...
I'm having problems making a ComboBox stretch to fill the whole column width in a GridViewColumn. It should also resize when the column is resized.
In the following example I have a StackPanel with a ComboBox inside. This is set to stretch and will in fact stretch to fill the StackPanel width.
Then I add a ListView with one column, c...
I have a WinForms 2.0 with a couple of ComboBox controls on it. For some of those ComboBoxes the property DropDownStyle is set to DropDown, while others are set to DropDownList.
Now, to indicate changes in the selection the property BackColor is set to a different value for each ComboBox. Those with the DropDownList style have a complet...
I am using combobox which contains three value-NSW,TIC,VIA. in page load i m setting selectedindex = 1 for the combobx , the value shown as TIC which is correct but it is not getting highlighted. I can see that when user selects different value (i mean the index gets change for combobox from UI) then the particular text gets highlighted,...
Hi - I have a asp:dropdownlist populated by a storedproc which i want to replace with a flexbox. I see that flex box expects a json based content to it. Any pointers how to replace my code for that ?
<asp:DropDownList ID="StepDropDown" runat="server" AutoPostBack="True" DataSourceID="SteppingDataSource" DataTextField="Name" DataValu...
I have a custom control: it's managed code, which subclasses System.Windows.Forms.Control.
I want to add things like edit boxes, selection lists, combo boxes, radio buttons and so on to places on this control. An easy way to do this is to simply add instances of these classes to the Controls collection, so that they become child control...
Hi all
I have a UserControl with ComboBox that based on XML data:
<Root>
<Node Background="Yellow" Foreground="Cyan" Image="1.ico" Property="aaaa" Value="28" />
<Node Background="SlateBlue" Foreground="Black" Image="2.ico" Property="bbbb" Value="2.5" />
<Node Background="Teal" Foreground="Green" Image="3.ico" Property="cccc" Value="4.0...
Hi,
in my first Silverlight 2 app I've a datagrid which is bound to a ObservableCollection, in one of the colums I've put a Combobox which hold a ObserversableCollection
A "Order" consists of number of properties, one of those properties is a "Customer" object.
If I show the orders in the grid, I would be happy if the correct customer...
I want to set the maxChars property of the TextInput of an editable ComboBox. I am currently trimming the text to a set number of characters using a change Event:
private function nameOptionSelector_changeHandler(event:ListEvent):void
{
nameOptionSelector.text = nameOptionSelector.text.substr(0, MAX_LENGTH);
}
This feels like over...
I usually do web programming but have a requirement for a windows form in this project I'm working on now.
I'm using SubSonic to get a list of jobs and load a combobox:
JobCollection jobs = new JobCollection().Load();
cboJobs.DisplayMember = "Name";
cboJobs.ValueMember = "Id";
cboJobs.DataSource = jobs;
When the user selects an ite...