listview

listview and datapager in update panel, postback full page

Hi, i Have a simple listview and data pager inside an update panel, but when i sort or paginate using datapager, the whole page is posted, why doesnt it do a partial page rendering. the listview is bound to an sqldatasoruce, is listview and datapager supported inside update panel ? ...

Set icon on ListViewSubItem

In a ListView you can have icons on each item. When viewing in Details-mode the icon is shown in the left-most column. Can I show an icon in some other column? ...

Interpreting item click in ListView

I'm working on my first Android project, and I created a menu via the XML method. My activity is pretty basic, in that it loads the main layout (containing a ListView with my String array of options). Here's the code inside my Activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentV...

how to set some of the listView insertItem data manually (in code)? (simple but need help)

hi i have an insertItemTemplate as follows, and all i want to do is to programmatically add all the values myself, without asking the user, of course, the userID, picID and dateTime should not be asked to the user, the comments field of course, i want to ask the user as they are leaving a comment about a picture on the site :)... seems s...

Android's RelativeLayout seems broken

I'm working on a layout where I use a ListView with RelativeLayout line items. The lineitems themselves are not displaying correctly. The issue is that the txtVideoDuration TextView is drawn at the top of the line item instead of the bottom. Because of this the txtVideoTitle gets a height of 0. As you can see in the XML the txtVideoDur...

Change ListViewItem Bounds

Hi guys, Is there any way to set the bounds of a all ListView items in LargeIcon mode to a specific size? I want to manually draw a rounded rectangle background for each of the items, but in the DrawItem event e.Bounds differs based on the state of the items. Thanks. ...

Specify an item placeholder by setting a control's ID property to "itemPlaceholder"

I have only single "Default.aspx" page and a single ListView Control. Why am I getting this error. Never Happened before "An item placeholder must be specified on ListView 'ListView1'. Specify an item placeholder by setting a control's ID property to "itemPlaceholder". The item placeholder control must also specify runat="server"." <%@...

Scrollable parent with ListView child

I know it's considered taboo to place a ListView inside a scrolling container, so is there any "proper" way to accomplish scrolling of a container that has a ListView child in it? An example layout would look something like: Header --- "Sub" header --- ListView with list items --- Footer Header and Footer need to remain static on the...

Unchecking CheckBox Placed in GridView's Header Template

Hi, I'm using a list view in which I have placed a grid view which contains a checkbox in the header template. Now if this checkbox is checked and I press the clear button then all the checkboxes in that column are unchecked, but that specific checkbox which is in the header is unchecked. What I want is that when the clear button is pres...

Sorting in listview with object data source

Hi i am working in asp.net web application for social networking. i have sued VS2008 and sqlserver 2008[.net 3.5] in this website we user 3-tier architecture. so we passed businessobject to UI. My listview is binded with object data source. now i have to implement sorting in listview. please can anyone suggest me best method to do sort...

Editing an item in a ListView does not occur if item is on any page, but the first?

I have an asp:ListView control which list playlists. It has paging supported and holds 10 playlists per page. Currently, when the user clicks a view link under a playlist, it redirects them to another page where they can view the songs in the playlist. If they want to edit the songs in the playlist, they can click an edit link and it ...

Listview help..(Windows Forms)

Hello, How can I check if no items "At all" selected from listview? Thanks. ...

How do I track the parent data item of a nested ListView?

I have an asp:ListView control with a data pager control in it. In the ItemTemplate of this list view, I have a child asp:ListView control, also with a data pager control in it. When I click the next page (or any page) of the data pager in the child list view, paging doesn't move. I solved this problem by subscribing to the PageProper...

Programmatically go to another page with a ListView?

Is there a way to find out what page a ListView item is on and to programmatically go to that page? I have a ListView with a DataPager that controls the paging. The reason for this is that, if I am on Page 2 of the ListView and I navigate away from the page, when I go back, I want to go back to the ListView page I was previously on. ...

Dynamic ListView in Android app

Hi overflow'ers! Is there a working example out there that demonstrates how to append additional rows in ListView dynamically? For example: you are pulling RSS feeds from different domains you then display the first 10 items in the ListView (while you have other threads running in the background continue pulling feeds) you scroll and ...

How to manipulate the value in Listview itemtemplate, returned by sqldatasource?

I have a listview and a label in the ItemTemplate, i have set the text to <asp:Label id="GreenDate" runat="server" Text='<%# Eval("NewsDate") %>'></asp:Label> but i want to manipulate the value returned by datasource,which is Eval("NewsDate") and show the new value in the label. in which event i can access this value and how? ...

Disabling the TextListener on List View in Android

My issue is simple, I am modifying the Contacts app source and I have put a text search box wherein user can enter the name and search for the name, and want to disable the key listener thats on ListView which appears whenever the key is pressed and filters text with a black rectangle. I'd also like to know how to get rid of that black...

Textbox Event Handling

I have a form that has textboxes that display various code values. If I click within one of the textboxes that displays a code, how do i show the description value from the listview subitem into an adjacent textbox? The user clicks on a button to select a list of codes from a Listview that displays both the code and description values fr...

WPF Listview databinding to generic List, dynamically filled by WCF service

In WPF app I have a WCF service which dynamically fills a generic List object from a backend database. How in this case (List created in runtime), I could bind List items to a ListView object items? It is the Data contract for my Web service: .... [DataContract] public class MeetList { [DataMember] public string MeetDate; ...

Can you get UpdatePanel working with RichDataControls?

is it possible? say with the listview? ...