ShowArchive.aspx
Hello,
I can't view this page in the design view and I think that it's something related to binding expressions.
what's the wrong with the page?
<a class="Poll_Question" href="javascript:expandDiv('div<%# DataBinder.Eval(Container.DataItem, "QuestionID") %>')">
<%# DataBinder.Eval(Container.DataItem, "QuestionText") %>
-
<%# DataBinder.Eval(Container.DataItem, "TotalVotes", "({0} votes)") %>
</a>
<div style="display:'none'" ID="<%# "div" + DataBinder.Eval(Container.DataItem, "QuestionID") %>">
<table>
<asp:Repeater id="MyRepeater" runat="server"
DataSource='<%# GetResultsSource(int.Parse(
DataBinder.Eval(Container.DataItem, "QuestionID").ToString())) %>'>
<ItemTemplate>
<tr>
<td class="Poll_Option">
- <%# DataBinder.Eval(Container.DataItem, "OptionText") %>
</td>
<td class="Poll_Results">
<%# DataBinder.Eval(Container.DataItem, "TotalVotes", "({0} votes") %>
-
<%# DataBinder.Eval(Container.DataItem, "Percentage", "{0:N1}%)") %>
</td>
<td width="300px">
' align="left">
</td>
</tr>
Thanks,
Marenela
|