SelectorField Help

Nov 20, 2009 at 9:11 AM


I'm using the selectorField (Radio Button Option) control on a Gridview (see code sample).

<asp:GridView ID="GrdInvestment" runat="server" AutoGenerateColumns="False"
                    Visible="False" AllowPaging="True" PageSize="5" DataKeyNames ="traref">
                        <mb:SelectorField SelectionMode ="Single" HeaderText ="Deal Number" />

<asp:BoundField DataField="traref" HeaderText="Reference" />
                        <asp:BoundField DataField="ValDat" HeaderText="Value Date"
                            DataFormatString="{0:dd/MM/yyyy}" />


How do I on click of a button dynamically retrieve the DataKey value of the selected radio button click