How can I prevent asp:RadioButtonList from rendering a HTML-Table? [duplicate]

荒凉一梦 提交于 2019-12-01 03:49:55

You should take a look into RadioButtonList.RepeatLayout Property

Use this property to specify whether the items in the RadioButtonList control are displayed in a table. If this property is set to RepeatLayout.Table, the items in the list are displayed in a table. If this property is set to RepeatLayout.Flow, the items in the list are displayed without a table structure.

Adding to the answer by Rubens Farias, ASP.NET 4 adds two new options to RadioButtonList.RepeatLayout, OrderedList and UnorderedList.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!