Adding JavaScript onclick event to Radio Button List items in VB.net

This is a very simple post covering how to capture of a Radio Button List item value using the JavaScript onclick event handler. I’ll start by assuming you already have the Radio Button List on your page and bound to a data source as follows: <asp:RadioButtonList ID=”rblItems” runat=”server” DataSourceID=”MyDataSource” DataTextField=”MyDataTextField” DataValueField=”MyDataValueField”></asp:RadioButtonList> In your codebehind file, add the following to the …

Adding JavaScript onclick event to Radio Button List items in VB.net Read More »