Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 January 14th, 2006, 02:04 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I posted Heuh?????? because you posted a zillion lines of code without asking a question.

I don't hope you expect us to wade through all this code and try to find the question ourselves that you may have? You have to help us help you.

That said, if you need to access an image in a DataList, you need to get a reference to it. You can do this in the control's ItemCreated or ItemDataBound events. Inside these events, use FindControl("YourControlId") on e.Item (passed as an argument) to find the appropriate image and then cast it to an Image object.

Search this forum using the terms:

ItemCreated FindControl DataList

and you'll find a number of useful posts.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Here is the atom bomb (Alt.) by The Smashing Pumpkins (Track 14 from the album: Machina II: Friends and Enemies of Modern Music) What's This?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading Image to Image Control using JavaScript ctranjith General .NET 1 May 28th, 2013 05:43 AM
Tutorial to an web server control simsen ASP.NET 2.0 Professional 0 January 15th, 2008 04:29 AM
Need help with web server control and design binici ASP.NET 2.0 Basics 1 December 20th, 2006 11:59 AM
Web Image with kodak imgedit control MK2 VB Components 1 June 15th, 2004 11:08 PM
HyperLink web server control style acko ASP.NET 1.0 and 1.1 Basics 2 November 14th, 2003 02:55 PM





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