Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

DisplayMaster\DetailResults

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gh - 27 Sep 2007 12:59 GMT
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
Cowboy (Gregory A. Beamer) - 27 Sep 2007 15:22 GMT
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.

Signature

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

*************************************************

| Think outside the box!

*************************************************
> 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
[quoted text clipped - 9 lines]
>
> Thanks

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.