I have a repeater databound to an questions objectdatasource which works fine, but I want to embed a set of radio buttons or check boxes. Now my problem is, the radio buttons (or check boxes) are also databound to the answers objectdatasource which has an object that needs a parameter to be taken from the results of the questions objectdatasource.
The repeater actually holds question data while the radio button or checkboxes would serve as answers to pick from. How do I access the data from this:
HTML
<asp:Repeater ID="questionRepeater" runat="server" DataSourceID="QuestionDataSource">
<HeaderTemplate>
<h3>Please choose an option.</h3>
</HeaderTemplate>
<ItemTemplate>
<%# Eval("ChoiceName") %>
<br />
</ItemTemplate>
</asp:Repeater>
Since the <%# Eval("ChoiceName") %> is databound with no events I can capture, are there workarounds to capturing it and applying to the answer datasource before the answers are databound?
Thanks!