listview

Separator in ListView (WPF) ?

Hi guys. I'm gonna insert a Separator in a ListView in WPF , something like this : image I've used the following XAML code, but it dosn't work ! <ListView ItemsSource="{Binding ListViewItemsCollections}"> <ListView.View> <GridView> <GridViewColumn Header="Name" Width="200" DisplayMemberBinding="{Binding GridView...

How to make ASP.NET DataPager control jump to ListView page based on element ID.

Hey guys, I have what I hope to be a simple question, though Google has been no help to me so far. I have an ASP.NET ListView control with a datapager and would like for the pager to jump to a specific page based on a supplied input ID of one the data bound items. In my particular example, I have a ListView of time periods (e.g.: Jan...

Question concerning asp:listview and multiple dynamically created controls

I have a listview that displays a list of textboxes that get created on a button click. I would also like a label to be created next to each txtbox that would increment what is says from step x: to step x+1: Do I need to create another listview control for this, or is there a much easier way (which I hope)? Here is the current web code...

Android -- Help with XML of a "complex" row in a ListView

Hi, I have a relatively complex layout that I'd like to be the "row" of a ListView in Android and I'm having trouble getting the right-most element to show up on each row. Here's what the row should look like: There's an icon (50dip x 50dip) on the left and an icon (9 x 13) on the right. The icons should be left and right justified, r...

android listview last visible line

In my application, i've a list view, if the last visible line is truncated and I scroll down to this line, I wish that the line becomes fully visible. I have to scroll down once more for it to become fully visible. ...

Android ListView programmatic selection/highlight

I have a simple listview and listadapter setup as follows: listAdapter = new ArrayAdapter<MyDomainObject>(this, android.R.layout.simple_list_item_1, listOfDomainObjects); listView.setAdapter(listAdapter); The user makes a selection on the list which takes them to another activity. From the new activity they can click their selection w...

ProgressBar In tListview subitem Delphi

I've been looking at how to put a ProgressBar in a tListview in delphi, and I've got some code that works... BUT I want to add it to a subitem.. and cannot figure it out... DFM Source Begin object Form1: TForm1 Left = 221 Top = 113 Caption = 'Form1' ClientHeight = 203 ClientWidth = 482 Color = clBtnFace Font.Charset =...

ListView Running total

Hi, I have a listview and would like to calculate a running total of values. every dataitem that I have bound to my listview, has an "amount". on ListView1_ItemDataBound, I would like to get the data item's "amount" value, but I cannot find how to access the item. This is kind of similar, i think, except I want a running total, not a t...

OutOfMemory exception appears while scrolling the list of images

I have a list of 70 text items with image icons(which are stored in drawables folder). If I launch application the first time and scroll the list slowly - the exception doesn't occur. When the application is launched the first time and I scroll the list with 'fling' action the following exception occurs: java.lang.OutOfMemoryError: bi...

C# ListView DragDrop Event Method Executing Twice Per Drop

The method executes twice in a row and there's no apparent reason for doing so. It happens in VS2010 Express (4.0) and in VS2008 (3.5). public GUI() { InitializeComponent(); this.lvwFiles.DragDrop += new System.Windows.Forms.DragEventHandler(this.lvwFiles_DragDrop); this.lvwFiles.DragEnter += new System.Windows.Forms.DragEve...

Delphi Sorting TListView Question

I'm using the code from: http://www.swissdelphicenter.ch/torry/showcode.php?id=1103 to sort my TListView, which works GREAT on everything but numbers with decimals. So I tried to do this myself, and I created a new Custom Sort called: cssFloat Created a new function function CompareFloat(AInt1, AInt2: extended): Integer; begin ...

Android ListView partial pressable areas

I would like to create a ListView item layout where I can touch certain portions of a line item. This is similar to the behavior of the 2.0's Contacts Call Log where I can click on the green phone logo to initiate a call or click on the incoming call details to get more information about the contact. I don't need a behavior only impleme...

Android: ViewHolder pattern and different types of rows?

ViewHolder pattern improves ListView scrolling framerate, as seen in following example: http://developer.android.com/intl/de/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html Is it possible to keep this pattern while using different kind of Views for different rows? In other words, is it possible to do something ...

Creating ListView with check boxes...Android

Hello, I am trying to create a listview that has check box beside each item. (i am following a code from the book android), but i can't get it to work, every time i run it, it crashes. since i am very new to this android staff, i have no clue what to do to get it to work, any help is appreciated.the code is below. *i have created two lay...

C# Drag&Drop Move of Items in Current ListView

1) How do you move items in a ListView using Drag&Drop? I have implemented D&D copy for files dragged from a directory. 2) BTW, how do you get a directory link by D&D to ListView, I've seen applications that get the directory path by D&D from address bar of Windows Explorer. private void lvwFiles_DragEnter(object sender, DragEventArgs ...

asynchronous list view

hi all, I have listview with images and its bottom has it's name. in list view each row has no'of images getting from server with left and right arrows are in each row i want see all the images in each row by clicking left and right arrows which are available in each row of list view .and while loading images i have to run progress bar ...

how to highlight matched keywords in a listview?

Hi. I have a search button and I want the search results to be highlighted. For example, I want to search a topic and the results will be shown in a listview. I'm using ASP and vb.net and the result of query is based on the records in my database which is MYSQL. My question is how can I highlight matched keywords in a listview control? T...

How to access ItemsCount on a Group Item within WPF ListView in code?

I have XAML code with a grouped ListView that looks like the following: <ListView ItemsSource="{Binding}" Name="ContactList"> <ListView.ItemTemplate> <DataTemplate> <controls:ContactItemControl /> </DataTemplate> </ListView.ItemTemplate> <ListView.Gr...

ListView.View = View.LargerIcons;?

I have a WinForms .Net 2.o app with a ListView in it and i'm trying to show some thumbnails. I set the listView.View-property to View.LargeIcon, but that's not big enough. I would like to have thumbnails about 250x180. Is this possible? And if, how? ...

ListView databinding behavior

I have what I think to be an odd problem with listview databinding. I am calling a protected method on my code-behind called ItemHtml() - as seen below. <ItemTemplate> <div class="itemWrapper"> <%# ItemHtml() %> </div> </ItemTemplate> The method is defined as follows. protected string ItemHtml...