I have a Telerik Listbox that populates a set of rows with CheckBoxes. Upon initial load, the Grid shows correctly. All this looks good....but, as soon as I use the scroll bars on the ListBox, the CheckItems collection becomes empty....even though the Checkboxes are still checked. Any ideas?
...
how to add the selected item from a listbox to list to get the username that are selected
my code:
List<String> lstitems = new List<String>();
foreach (string str in lstUserName.SelectedItem.Text)
{
lstitems.Add(str);
}
it show me error saying cannot convert char to string.... how ...
Hi all,
I have to change Listbox's control templated in a way that it can look like below image
i have added togglebutton in listboxdatatemplate...
have one stackpanel in listbox style template...
so structure is like
border - stackpanel - grid - itemcontainer[boder-togglerbutton]
now to make first and last item curved... what are th...
I have a ListBox to which I bound a sorted list of strings. I would like to display the list with dividers (headers) that announce the new letter - something like the 'Contacts' list on the iPhone.
Does anybody know how to achieve this goal? Perhaps using ListBox is not the right idea.
I am doing this with VS Express 2010 for Windows...
Hi,
I am having a list box, and its item template is having one check box.
Now, when I click on the check box in the listbox, it sets the checked status of the check box. If I use keyboard "Space" key, I cannot change the checkbox state.
Note: Keyboard is shortcut is working once I set focus to the check box by clicking it.
...
I have this and it shows all of the items in the listbox but there are alot of them
<label for=”Application”>Application:</label>
<%= Html.ListBox("SelectedCategories", Model.Applications)%>
is there a way to show just show 5 items and add a scrollbar (compared to increasing the height of the listbox)
...
Hi
I have a what I consider a standard example. In my asp.net MVC 2 solution, I have an Index View for my Products Controller. So when a user browse to the products url, the index view will get displayed and show a list products in a listbox.
The View code look like this:
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" run...
Hi All,
The listbox contain images and the object assigned to the listbox have corresponding wmv file path. How to bind the selected path the the mediaelement through {binding}.
Geetha.
...
Hi,
when i use controlToolkit:LisBoxDragDropTarget with ListBox i am able to do drag and drop...
but if i provide ItemsTemplate to ListBox then "drop" is not working...
Xaml which is working
<controlsToolkit:ListBoxDragDropTarget x:Name="lstddPSGroups1" Grid.Column="0" Grid.Row="1" AllowDrop="true" HorizontalContentAlignment="Str...
Hello ppl,
how to change listbox to set background color of alternate row diff...
e.g.
Listbox having 6 rows
1st,3rd,5th row having "blue" background and
2nd, 4th, 6th row having "white" background.
...
I'm thinking to convert my desktop wpf Listboxes to DataGrids. My question is:
Is there anything I can do in a listbox that I can't do in a datagrid. For example I would like to have templates that will allow me to display data in different ways, 2 up, 4 up etc for the lists. Is this as simple with DataGrids.
Thanks for your help.
...
Hi all.
i have to show Rownumber with listbox item.
i have implemented drag and drop functionality in listbox but now when 4th item is dragged and dropped to 3rd place... the srno should be rearranged ...
so can i bind rownumber/listindex of listboxitem with the textbox i am using to display the srno? or is anything there through which...
Hi All,
I want to display the list of songs in the listbox.
Example.
Song count 20. initially the listbox has to show 10
like
song1
< song2 >
song3
...
If we click the right arrow it has to show the next 10.
Is it possible to achieve this.
Geetha.
...
I added a domHandler for changeEvents. Following the answer here: http://stackoverflow.com/questions/3098694/enabling-and-disabling-save-button-on-a-gwt-page
This works for listboxes in Chrome and Firefox but doesn't work for IE8.
Does anybody have any recommendations? I rather not individually handle each textbox and listbox on our ...
At least one item always remain selected in ListBox. I want that when user clicks empty area of ListBox, selection should be cleared. How to do this?
I am trying to replicate Opera Notes as a part of my application. First i was using a binded DataGridView now i am using a binded ListBox on left pane
...
Dear reader,
I have a list box which holds, say, 6 values. Using buttons it's possible to insert new items into the list box. I can move all of these items up and down using other buttons I've added. For the purpose of understanding we'll call the newly created items (which I want to act as groups/dividers) "groups". What I want to acco...
When I change the datasource of my Listbox all items are cleared, when loading new data into this Listbox it stays clear.
I have another ListBox right new to this one with the same refresh code but that one refreshes perfectly.
private void RefreshContacts()
{
this.ListContacts.DataSource = null;
this.ListContac...
When I select an item on my Listbox, a Textbox is filled with the selected text for editing. How can I get the cursor to focus on the Textbox text so I don't have to click on it with my mouse before editing?
...
Hi folks,
in my Silverlight 4 Application, I have an observable list of a user defined class
ObservableCollection<MyClass> myList;
public class MyClass
{
public string Name { get; set; }
public string Value { get; set; }
}
I display this list in a ListBox, using databinding and a Template for the ListBoxItems:
<ListBox x:Name="...
Hi All,
I want to create listbox dynamically [codebehind c#]. Its datasource is class object.
class sample
{
string filepath;
string id;
string trackName;
}
Needs:
Display trackName as listbox item in the listbox [dynamically].
Code:
sample samp=GetBL.GetValue();
ListBox lbTrack = new ListBox();
StackPanel sp = new StackPa...