最近做的一个项目,要实现这样一个功能.网页上有一个RadioButtonList,在客户端用JS编写代码,当用户用语音输入选择RadioButtonList中的某一项,则在客户端改变了RadioButtonList.SlectedIndex的值,但是并没有使得该项的RadioButtonList.SlectedItem.Slected = true
问题是js不能直接在代码段中实现RadioButtonList.SlectedItem.Slected = true
需要在服务器端实现,但是RadioButtonList却没有这样的方法,只得到当前的SlectedIndex而使得该项的RadioButtonList.SlectedItem.Slected = true
问题很棘手,希望帮忙解决一下!
谢谢!
可以用客户端的radio,不要用服务器端的RadioButtonList了.