Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
i have a repeater control which i am binding to a datatable which has two rows.
in my repeater there is one image control and one hyperlink control in item template.
on item_databound i am giving image url to image control.
after this i am still getting error that image url is required if i have two rows.
n its working fine for a single row.

plz help
Posted
Comments
Thomas ktg 6-Dec-13 0:44am    
Show some code. It will be easy to get your solution.
aks.shan 6-Dec-13 0:54am    
Hey thanks.. i got it solved.
i was using item template .
now i added alternating template and its working fine.
:)
aks.shan 6-Dec-13 1:01am    
I want to add properties to controls present in a repeater at runtime .
can i do so??
if yes plz help me with an example. thanks :)

1 solution

 
Share this answer
 
Comments
Thanks7872 6-Dec-13 1:33am    
+2.

How come it answers the question?

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