开发者

Render a radiobuttonlist horizontally

Can a radio button list be rendered as 开发者_如何学Gofollows

0    1    2    3    4    5
r    r    r    r    r    r

where r represents a radiobutton in the radiobuttonlist and the text above it is the part of the radiobutton text.


You have to create your own MyCustomRadioButtonList and override Render to display it the way you wish.


This is not the accepted way to create either a radio or check box list. Users expect to find the text to the right of the radio button or check box and you would really have to have a compelling reason not to adhere to this convention.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜