H
Helen
I've got some clientside script that runs when the selected index of a
select box changes. Now I need to swap my selectbox with an ASP.NET
radiobuttonlist (to solve some layout issues). I still need the
clientside script to run when the selected radio button changes, but
I'm having trouble registering onclick events with each of the radio
buttons.
I've tried registering an onclick attribute with each item:
item.Attributes["onclick"] += getJScript(hiderControl);
I've also had a look at the controls collection of the RadioButtonList
control, but there aren't any radio buttons in there when I looked
during the PreRender event.
Anyone got any ideas what I can do?
Helen
select box changes. Now I need to swap my selectbox with an ASP.NET
radiobuttonlist (to solve some layout issues). I still need the
clientside script to run when the selected radio button changes, but
I'm having trouble registering onclick events with each of the radio
buttons.
I've tried registering an onclick attribute with each item:
item.Attributes["onclick"] += getJScript(hiderControl);
I've also had a look at the controls collection of the RadioButtonList
control, but there aren't any radio buttons in there when I looked
during the PreRender event.
Anyone got any ideas what I can do?
Helen