Wrox Programmer Forums
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 May 11th, 2007, 10:46 AM
Authorized User
Join Date: Apr 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Show small image of products in RssReader

I’d like to show the SmallImage of product at GetProductsRss.
How can I do ?

Old May 29th, 2007, 01:07 AM
Authorized User
Join Date: Sep 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts

Hey Caster!
I don't know what you trying to achieve exactly.
But i Did something in my website that Shows an RSS feed from Microsoft.com
So I did some research On this Topic.
This exapmple explains how to receive the rss feed from a remote website, and be able to display an images within it.
So once you see it you will understand what i'm talking about.
In general, before you going check out my website with the explanation, keep in mind tha this DataList Control-GridView control receives Information that comming from XML file. Yes in general RSS feed is a simple XML file, with e few attributes whithin it.
So there's a node stuff going on.

So now basicaly once youu have a node with the URL to the image

You will probably
Build some DataListCintrol to show this Info.
It might be something like this:
<asp:Datalist Id ="DataList1" runat ="server">

<!-He you can Put whatever you want--->
htm Tables Divs and so on..
Lets say wi have a table


     <img src ="<% # XPath(ImageNode)%>" />

    <a href = <%# XPath("comments/url") %> target ="_blank" ><img src = <%# XPath("ImageNode") %> border ="0" /></a>

<a href = "Your Url Go's here" target ="_blank" ><img src = <%# XPath("ImageNode") %> border ="0" /></a>


Well suppose this is a simple DataList Control
But in many cases it will work with a few main Controls.
To make this Work you will need the following stuff.

You will need the XmlDtaSourceControl
DataListControl, and maybe some XSLT file.
Refer to my example to understand the concept.
I tried to explain this as simple as I could.
So this is a first example that shows how to consume rss feed trom Local file/ And also explains how to put things together.
If you want, you can navigate to the second example, that shows how you can consume RSS feed with the images from Microsoft Website.
I suggest you to start from the first one, to get more clear understanding of how this builded from the inside. It's pretty simple to do, but It took me Month and a half to understand how to put things together, to achieve this result.

Finally You can check the exact same Example but using GridView Control.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show image on signature kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 February 8th, 2007 11:31 AM
Image slide-show Rajarshi HTML Code Clinic 1 February 27th, 2006 06:03 AM
Show high resolution image usamaalam Crystal Reports 0 December 14th, 2005 04:29 PM
show the picture in a small icon on a report Corey Access 1 October 15th, 2005 02:52 PM

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