Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir,

I have doubt ie how to get the src value of an html image control placed inside a datalist and make border of the image active on its click


with regards
Meena
Posted

1 solution

You must set the html image as runat="server" to reach from codebehind. Then you must use FindControl in DataList.
 
Share this answer
 
Comments
meenavinaymenon 16-Oct-11 9:01am    
i have done it before but its showing error
bad sect0r 16-Oct-11 12:33pm    
what's the error then?
meenavinaymenon 17-Oct-11 1:17am    
Pls do some help....
meenavinaymenon 17-Oct-11 1:19am    
The datalist is not showing in the design page but showing error in control
hitech_s 17-Oct-11 3:34am    
post the error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900