I fillin ascx control (in webpart) with a set of questions. Each question has 2 groups with 4 options to answer.
I use a ListView control to display this set.
var itemsToShow = from ...
select new
{
MfKey = item[MVListsManager.MF_KEY],
Order = item[MVListsMana...
Good Day,
I'm using Generics with a ListView control whose initial class definition looks like this:
namespace BaseControlLibrary
{
public partial class CustomListView<T> : System.Windows.Forms.ListView
{
// Custom fields, properties, methods go here
public CustomListView(List<T> data)
{
_co...
Hey.
I have a ListView with 3 columns, how do I add specified text to the specified column I want? I've looked at the ..Add function, but it doesn't take the column index.. Thanks!
...
I have a listview displaying our current projects.
In the itemediting event handler of the listview, I have a number of checkboxes that are being rendered using nested repeaters. After rendering, I loop through all checkboxes and set the correct state based on data retrieved from the DB.
The idea is that I can check or uncheck any of t...
Hello,
Does anyone know why my ListView with following Code is not working?
I checked it out with Snoop and the ItemsSource seems to be fine (and when I start Snoop, the ListView displays me the MyViewModel.MyCollection, but when debugging with Visual Studio it shows me nothing?)
Thank you!
PS: MainWindow.xaml.cs has the DataContext = ...
Is it possible to override the listview detault selection paint? The one that looks semi-transparent blue overlayed over the items, like in the explorer windows.
I want to draw an outline around the selection to indicate selection.
Any way to do this? Examples are appreciated.
...
Here's the situation:
Using WPF
I have an object set to the DataContext of a window. A listview on this window is bound to display a list of users which corresponds to a property in the DataContext(Users).
Whenever a A User is chosen I set the CurrentDisplayedUser to this user to the selected object.
I have another list box that's...
I have a created a list view control that displays a list of products. For each product that is displayed, I now want to include a section where anybody can comment about the product. Are there any good plugins/examples to do this in ASP.Net or a good walkthrough that is doing something similar?
...
I don't even see it in the Toolbox in the designer. Is it called something else?
I am trying to port my winforms listview to wpf.
...
I have a simple List View:
<ListView Name="Container" >
</ListView>
1) I'd like items to be listed vertically till there's space and then to fill another column (header not needed):
147
258
369
I am adding items programmatically like this - but they display horizontally and then go onto the next row when space runs out:
foreach (...
I have got a Listview Item with a Gridview Child, bound to a List of Objects.
Below the Gridview I have got texboxes to edit the content of the Gridview (bound to the Gridview).
I can add new content (which is displayed in the GridView).
When i edit content, it is in fact edited (in the object list) but not displayed in the Gridview (the...
I know this must be obvious but I am starting with WPF and I am stuck:
I've the following ListView (in the second row of the main grid on the page), content is showing up but the header is not!
<ListView Grid.Row="1" Name="container" ItemsSource="{Binding MyCollection}" >
<ListView.View>
<GridView>
<GridViewColumn Wid...
I am creating a Windows Forms ListView, and set its SmallImageList to place an icon in the first column of each row. I have set the TextAlignment for the column header to "center", but the icons are left aligned - can anyone offer advice on how to center align these icons?
Thanks
...
I have a WinForm with 2 ListView controls. The first listview is on the left hand side and presents the list of categories, the second is on the right hand side, and presents items within a category. Think of it like the classic explorer-type UI, but specialized: the hierarchy is just one level deep.
If I have a listviewItem highlight...
I have a WPf ListView that i am replacing the View with GridView to give me columns etc.
I want to apply a Cell Content Template to the Column and do a binding from the Cell template to the GridViewColumn (I have subclassed the column and it has some extra properties)
any ideas?
...
For a WPF project in need to save the width and the column order of a ListView because these are things the user can change. I guess it is no problem getting the current width but the current position seems to be a bit difficult.
In WinForms there was something like index and displayIndex but I don't see it in WPF.
How is it done?
BTW ...
I've got a listView displaying a few text records. I need to increase the height of rows (working on a touch screen so I need thicker rows) without increasing the font size.
This is probably pretty trivial but I have no clue and can't find much on google.
Any help appreciated.
...
Horribly worded question, I know...
I'm attempting to load a page into a div inside an asp:listview. The page loads fine on the first attempt, but subsequent loads do not seem to run the jquery.ui.js file to tabify the loaded page.
I moved the call to tab the loaded page into the callback function of the .load() function, but that has...
In Android, I want to present the user with a list. When an item on the list is selected some action is performed, and this list item is no longer selectable. It is also 'grayed out' or the like to indicate that it cannot be selected the next time the list is displayed. I have seen the isSelectable() override in Adapter, but I believe...
I have a page with part of a listview control inside an update panel. When a button is clicked in the listview I modify some data and call this.databind to refresh the data. It appears that the page load event is still firing even though the control is inside an update panel. I am wondering why the page load event is firing? Is it due to...