listview

C# skip checkbox listView

I have a listView that lists a bunch of files, and a set of checkboxes that allow users to download them from an FTP server, like so: Filename Size Last modified New version [ ] someimage.jpg 120 kB 2010-01-13 16:12:59 Yes [ ] otherfile.zip 12 kB 2009-12-29 09:33:15 No [ ] folder - - ...

Constant id for all the items of a ListView making OnClick method useless

Hi, I'm quite new to android and i'm facing some trouble with managing listviews... I'm generating a ListView properly but all the items in it have the same id, so when I click on any of them, they all do the same thing (which is not what I expect of course...) I'm loading data from XML URLs, parsing them with a SAX parser. Here is my ...

Scrolling horizontally and vertically ListView WinForms C#

Hello, I've couple of questions regarding scrolling ListView without using external ListView controls from other vendors (free or pay versions). How to make 2 (or more) ListView bound together in the way that if i start scrolling one ListView the other one does exactly the same? Is it even possible to do with native 3.5 or 4.0 (when i...

Android: How to disable list items on list creation

Hi, I'm pretty new to Android dev and still working out a lot of things. I've got a main menu showing using the following code, but can't work out how to disable selected items in the menu. Can anybody help me with some sample code? public class listTest extends ListActivity { @Override public void onCreate(Bundle savedStat...

RadioButtons, ListViews, and Grouping, oh my!

I've got a project I'm working on where I need to put a RadioButton inside a ListView, and have them all have the same GroupName. (can't use RadioButtonList, long story). Anyway, this seems to be a well known bug in .NET, so I've implemented the solution found here: http://stackoverflow.com/questions/377393/asp-net-radiobutton-messing-...

ASP.NET ListView with identical markup in EditItemTemplate and InsertItemTemplate

I have a ListView that includes an EditItemTemplate and an InsertItemTemplate. The two forms share almost all of their markup. For example: <asp:listview runat="server" ... > <layouttemplate>...</layouttemplate> <itemtemplate> <p><%#Eval("Name")%></p> <p><%#Eval("Title")%></p> ... </itemtemplate> <insertit...

WPF ListView GridViewColumn Double Click

Hi, I have a WPF ListView that opens a certain window when double clicked on a certain item inside the list view, but I have a problem. When I double click the GridViewColumn, that also opens up a certain window. Is there a way to detect if the sender is a gridviewColumn or a listView item? Thanks ...

Android: How do I make a ListView update itself periodically?

I never got this working in a straightforward manner. Sorry if I'm being a little vague. I'll try to elaborate on what I'm trying to do. I am trying to build a listview that grabs its data from a webservice. Once I initialize a listview, I want to keep polling the webserver periodically and update the contents of the listview. For this I...

C# listview maximum number of rows

what is the maximum number of rows can listview have? ...

Scrolling ListView with mouse wheel occasionally negates scroll

I'm having some trouble with the Win32 listview, and I hope someone has some wisdom. When scrolling very quickly (via the wheel), occasionally, the listview appears to scroll, only to jump back to the selected item so it is in-view. In other words, the list undoes your wheel scroll to show you the selected item at the top/bottom of the l...

Android: Internal Linkify does not work properly, and text, images flicker inside ListView

I enabled the Linkify property of a textview as follows: txtbox.setAutoLinkMask(Linkify.WEB_URLS); But, when there are URLs like bit.ly are present (which is very common nowadays in messages like tweets), it doesn't display them properly. The problem is "sometimes" it succeeds and sometimes it fails... The other problem is, if this Te...

How to style the selected item of a ListBox to look like a selected item of a ListView (with GridView)?

I'd like to have the selected item of a ListBox on the right to look like the selected item of a ListView (with GridView) on the left. This is the XAML code: <Grid> <StackPanel Orientation="Horizontal" > <ListView Margin="4" Width="200" > <ListView.View> <GridView> <Grid...

Listview Row Overlap Problem

I just updated my app and I am getting some odd complaints from people who update it. I am only getting complaints from people with non-stock android phones (phones that manufacturers have modified...HTC phones, cliq, pulse, etc), other phones like the Droid, Nexus work fine. My app (Photo Frame Deluxe) has a list in it with a Image View...

Visual Basic Windows CE sdk, Scroll to bottom of Listview

Looking to scroll to the bottom of a listview in windows ce I have tried lvwItem.FocusedItem(lvwItem.Item.Count-1).focus ...

Imitate ListView on left side of Windows Explorer

I need a ListView that is like the listview on the right side of Windows Explorer. The ListView needs to have the expandable arrows. My idea, maybe use the ListView in a TreeView tempate? ...

Asp.net Listview server side pagination

Hi, My scenario is i will get some data uploads in csv format in my server, that will have more than 60k records. and the column numbers might change file to file, now my problem is i want to display the contents of this in a listview, with pagination. and i don't want to download entire data to client side, i want the data to be retr...

Problem with listView background and foreground colors when listView is sorted

I have listView in my (C#) program. I change some items background and foreground colors after I have added items to listview. All items are OK and Colors too. If I use sorting with listView, then all first 6 items colors have been disappeared. And some colors of rest items are in disorder. This effect happens with default sorting and my...

Disabling ListItem selectability.

As you can see from the screenshot below I have a ListView with multiple items in it. No matter what I try I can't seem to make the list item's not be selectable. I've tried all of the follow (in the XML layout for the ListView), but the items are STILL selectable with both a finger and the scroll wheel. android:clickable="false" andro...

Display sum of grouped items in ListView

I'm creating a WPF TimeCard app using the MVVM design pattern, and I'm trying to display the sum (total) hours the user has clocked in grouped by each day. I have a ListView with all of the TimeCard data broken into groups using the following XAML: <ListView.GroupStyle> <GroupStyle ContainerStyle="{StaticResource GroupItemStyle}"> ...

Android - How to Get a Layout Inflater Given a Context?

Hi, i am writing a custom implementation of a ListAdapter. In its constructor, i'm taking in a Context, a resource ID (i.e. R.id.xxx representing the layout file), and a list and a map (these contain the data). Now, the problem is that i will need a LayoutInflater to get the View object which is in the separate layout XML file. How c...