PC Review


Reply
Thread Tools Rate Thread

DisplayMaster\DetailResults

 
 
gh
Guest
Posts: n/a
 
      27th Sep 2007
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
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      27th Sep 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:54 PM.