473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DisplayMaster\DetailResults

gh
If you will goto this link http://www.railpictures.net/ and click the
Find the Photos button, about the middle of the page. The page that
gets opened as you can see displays trains and photos. What I have is a
Master(Projects) and Details(Photos) that I would like to display in a
similar fashion. I have 3 or 4 fields of data about the Project and can
have from 1 to many photos, per project, that I will display as
thumbnails below the Project Information. When the user clicks a photo
I will display it and the information about it in another page. I am
using .NET 2.0 and was wondering which Data Web 2.0 control or controls
would work best for this? Would someone have any links to tutorials.
that would show how this is done?

Thanks
Sep 27 '07 #1
1 1032
For the display of pictures, you can work with a variety of options, but a
DataGrid, DataList or Repeater are all fine for display of multiple items.
If you want the pictures to go across a row and start on the next row, the
DataList is quite easy, for example.

To bind:
One way is to set up a DataSource control (SqlDataSource, etc.) that pulls
the info about the pictures. To display the pictures, you will either store
them in the database (not my fave) or have a page that actually serves the
picture. This can be done in tags or in the row data binding event.

You then have another DataSource that hooks up to the details view and you
configure it to use the ID of the chosen item in the DataList. This makes an
easy master/detail page.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"gh" <gh@att.netwrote in message
news:ub**************@TK2MSFTNGP05.phx.gbl...
If you will goto this link http://www.railpictures.net/ and click the Find
the Photos button, about the middle of the page. The page that gets
opened as you can see displays trains and photos. What I have is a
Master(Projects) and Details(Photos) that I would like to display in a
similar fashion. I have 3 or 4 fields of data about the Project and can
have from 1 to many photos, per project, that I will display as thumbnails
below the Project Information. When the user clicks a photo I will
display it and the information about it in another page. I am using .NET
2.0 and was wondering which Data Web 2.0 control or controls would work
best for this? Would someone have any links to tutorials. that would show
how this is done?

Thanks

Sep 27 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.