How do you show x items per row in a repeater?

前端 未结 7 1993
予麋鹿
予麋鹿 2020-12-19 12:49

Anyone have any clue on how to show 4 items going horizontal with a repeater? A repeater shows items going down by default. Here is my test repeater code so far:



        
7条回答
  •  梦毁少年i
    2020-12-19 13:20

    Scott Guthrie provided an example of how to do this with a ListView control in the following article. He uses the control to render an unordered list and uses CSS to control the layout.

提交回复
热议问题