I do something similar like this:
foreach (RepeaterItem ri in this.rptrList.Items)
{
RadioButtonList myList=
((RadioButtonList ))ri.FindControl("rdoRate"));
...your stuff with this control here.....
}
Syntax isn't tested, off the top of my head, but you should get the idea
from here.....
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site:
http://www.Darkfalz.com
Blog:
http://blog.Darkfalz.com
"Darren" <> wrote in message
news: m...
> Dear Groups,
>
> I have searched EVERYWHERE on the net and msdn for a solution to my
> problem and am coming up with nothing.
>
> I simply need to capture the 'selected row' and the
> rdoRate.SelectedItem.Value.
>
> Thanks in advance...Darren
>
> <asp:Repeater id="rptCharts" Runat="server">
> <ItemTemplate>
> <div class="searchcontainer">
> <div class="lnkcol"><a href='../links/?urlid=<%#
> DataBinder.Eval(Container.DataItem, "linkid")%>'><%#
> DataBinder.Eval(Container.DataItem, "linkname")%></a>
> </div>
> <div class="ratecol"><%# DataBinder.Eval(Container.DataItem,
> "votes")%></div>
> <asp:RadioButtonList AutoPostBack="true" ID="rdoRate"
> RepeatDirection="horizontal" Runat="server">
> <asp:ListItem Value="1"></asp:ListItem>
> <asp:ListItem Value="2"></asp:ListItem>
> <asp:ListItem Value="3"></asp:ListItem>
> <asp:ListItem Value="4"></asp:ListItem>
> <asp:ListItem Value="5"></asp:ListItem>
> </asp:RadioButtonList>
> </div>
> </ItemTemplate>
> </asp:Repeater>