SelectedIndexChange on a RadioButtonList

wtbonnell

Freshman
Joined
Oct 6, 2003
Messages
32
I am developing an application using ASP.NET (C#) and I am trying to trigger an event handler when a radion button selection changed occurrs within a DataList control. My only problem is that the radiobuttonlist web control does not have a "Command Name" property to set, so I cannot determine if a radiobutton selection was changed within the ItemCommand Handler.

I noticed that the radiobuttonlist does have a OnSelectedIndexChanged method, however, I am not sure how I can communicate with my code behind using that...

Any ideas would be greatly appreciated...

Thanks for your help!
 
Any control with runat="server" can access code-behind, and radiobuttonList has an id property, which is how you access it
 
Back
Top