Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 30th, 2010, 12:30 PM
Authorized User
 
Join Date: Jul 2010
Posts: 23
Thanks: 7
Thanked 2 Times in 1 Post
Default ListBox inside listview

Howdy

I have a ListView in wich i want some ListBoxes in each row. In these ListBoxes i want tag-names that are assosiated with the thumbnail being displayed in the same row. My problem is that i cannot figure out how to set up a unique data source for each listbox, or how i could filter out unwanted ones if i gave all the same datasource.

Here is image of my ListView:

http://www.home.no/sd7/edit.jpg

If i set up a datasource like this(passing the pictures unique Id to the function, and returning a IQueryable(Of String):
Code:
DataSource='<%# UniqueDataSourceFunction(Eval("Id")) %>'
I get an error that the item is disposed, somehow.. :P




Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing and using an ActiveX from inside a HTML page hosted inside a WebBrowser con adyrotaru C# 2005 2 June 25th, 2009 04:21 PM
Binding ComboBox inside ListView problem gunnjamie Windows Presentation Foundation 1 July 17th, 2008 02:13 PM
multiple Listbox values in another listbox terryv Excel VBA 0 June 27th, 2007 07:01 AM
Help 'Check ListView' vs 'Check ListBox' MikeY C# 1 February 24th, 2005 02:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.