Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DataList repeat direction and binding to multiple objects

Thread Tools

DataList repeat direction and binding to multiple objects

Posts: n/a
Description1_____true_________ _true__________true___
Description2_____true_______ __ true__________false___
Description3_____true_______ _ _true__________true______
Description4_____true________ __true__________false_____
Description5_____true________ __true__________true____

I am trying to generate a datalist containing checkboxes. A company record
contains the company name (companyN) and a collection of boolean(checkbox)
fields. This company information needs to be represented in columns. I
achieve this by using the RepeatDirection =Vertical property and setting the
number of columns to the number of records returned from my query.

In the left most column I need to have a list of descriptions coming from a
separate datasource. How would I append a column to the left that has a
different datasource (and datatype String)? I noticed that when I use table
structure HTML in my datalist the RepeatDirect Fails and it display
horizontally. How do I have more control in how my checkboxes are displayed
in the itemtemplates? How do I display a header template? How do I get it
all to sit neatly in a table format?

Thanks in advance.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datalist repeat colums ordering lee atkinson ASP .Net Web Controls 0 02-26-2009 11:45 AM
Datalist and Multiple DS objects =?Utf-8?B?bWtkMTkxOQ==?= ASP .Net 0 09-19-2005 03:51 PM
Complex data binding question, binding child objects of a custom collection. JcFx ASP .Net Datagrid Control 0 06-01-2005 04:01 PM
Setting up a datalist control - Item_DataBound for a datalist in a datalist Nevyn Twyll ASP .Net 8 09-09-2004 10:13 PM
Binding a DataList to an ArrayList of objects Stefan Landgraf ASP .Net 3 11-24-2003 10:41 AM