asp.net radio button grouping

后端 未结 10 497
余生分开走
余生分开走 2020-12-05 09:47

I am currently having an issue with radio buttons and grouping. I have an asp radio button within a repeater control. I have the group name attribute set to \"Customer\". Wh

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 10:19

    I made my radiobutton have autopostback set to true, and then in the event handler set all the other radio buttons to BE unselected.

    Not ideal, but I need lots control over the visibility and enabled attributes of the radiobutton, and it seemed easier to let ASP.NET control that rather than resorting to client side script.

提交回复
热议问题