开发者

Render a radiobuttonlist horizontally

开发者 https://www.devze.com 2023-01-25 10:56 出处:网络
Can a radio button list be rendered as 开发者_如何学Gofollows 012345 rrrrrr where r represents a radiobutton in the radiobuttonlist and the text above it is the part of the radiobutton text.You hav

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

精彩评论

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

关注公众号