Author: reisende76 | Posted on: 1/15/2010 11:46:16 AM | Views : 256

Hello all,
I am currently working on a page that displays a set of questions as retrieved from an XML source.  I can print the questions out fine by using a ListView and the ItemDataBound event.  On PostBack it seems I can get some property values (Text), but not others (ID).  I need to get the ID so I can match up the answer to the appropriate question.
Here is the ListView:


<asp:ListView ID="lvQuestions" runat="server" onitemdatabound="lvQuestions_ItemDataBound">
<LayoutTemplate>
<ol>
<asp:PlaceHolder ID="itemPlaceholder" runat="server" />
</ol>
</LayoutTemplate>
<ItemTemplate>
<li>
<%# Eval("Text") %><br />
<asp:RadioButtonList ID="rbl" runat="server" ...

Go to the complete details ...