473,382 Members | 1,386 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,382 software developers and data experts.

ImageButton in GridView

I am trying to give imageurl to imagebutton in gridview dynamicaly. For that I have created one datatable having one column who's datatype is imagebutton. Then Datarow is created. I have created new Imagebutton Control each time and give Imageurl to it and then this control is added to datarow. After I bound this table to gridview. But Images are not displayed. Does Any body has the solution? Please let me know
Mar 21 '07 #1
1 3370
sani723
117 100+
r u putting runat="server"
Mar 21 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chuck Hartman | last post by:
I've been trying to add an ImageButton object to a Calendar table cell, but so far I am unable to handle the Command event from that button in my form's code behind. Below is an example of what I...
2
by: ad | last post by:
I have a Button (named btnOK) and a ImageButton (named ImageButton1) in a Template field of a GridView; I use the codes below to find the Button and ImageButton, the ImageButton can be found,...
8
by: Tim_Mac | last post by:
Hello, this message was posted in december 2005 and Steven Cheng from MS followed it up with me to a point, before the thread trailed off. ...
0
by: C. David Johnson | last post by:
Ok I am working on the simplest thing ever that is turning in to the biggest train wreck ever. I have a database with a series of photo albums and the image path & name for each image. I pass...
5
by: David Lozzi | last post by:
Howdy, New to .Net 2.0 and I'm about to go back to 1.1! So many little changes are driving me nuts. I have an ImageButton in a GridView template column. When clicking the image, it should send...
1
by: Cem | last post by:
Hi, in GridView1 I have following code: <ItemTemplate> <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='<%# Eval("airport_active", "images/icons/ico_airport_active_{0}.gif") %>'...
0
by: Danny G Guillory Jr | last post by:
Someone please look at www.syscpupower.com/rtone.aspx You will see a gridview of my ringtone db, now what i am trying to get accomplished is when you click the ASP.NET 2.0 LOGO you will get to...
1
by: Keld | last post by:
I have a gridview in which i have a templatefield. In the templatefield i have an imagebutton which is used to bookmark records when a record i bookmarked i would like to change the imageurl of...
1
by: qqqqqqqqqq | last post by:
i have a gridview showing all the images from the database .. and what i want is when i clicked on the image button . It will stored the ID and pass to the next page.. Thanks..
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.