473,394 Members | 1,717 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,394 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 3371
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.