Click here to Skip to main content
14,836,361 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can I fixed the Height and Width Of Repeater Control?
Suppose I have 15 images then in the first row it display only 5 images and then diplay another 5 in next row. Give me a code plz in c# or vb.net
Posted
Comments
Naveen.Sanagasetti 4-Feb-13 6:26am
   
How many times you post the same query...?
If you want to modify the question use Improve Question tag, then modify whatever you want..

1 solution

Hi.

I am not sure about repeater control, but by reading your question i think you can achieve your goal by using DataList in place of Repeater. Please documentation on DataList and try to focus on it's two property.. 1) RepeatDirection, 2)RepeatColumns

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datalist.aspx[^]

Hope this will help you.
   
Comments
Joezer BH 11-Mar-13 2:17am
   
5+

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