RadioButtonList inside Repeater

Discussion in 'ASP .Net Web Controls' started by robk, Jul 7, 2005.

  1. robk

    robk Guest

    Hi,
    I'm using Repeater control which is bounded to DataSet.
    Problem is when page is loaded radiobuttons aren't showing and
    its direction is stil horizontal.
    Any sugestions apprettiated.
    Thx
    Bob

    This is HTML code:
    ....
    <asp:Repeater id="rQ" runat="server" DataSource="<%# dsQueAns %>">

    <ItemTemplate>

    <table>

    <tr>

    <td><b><%# DataBinder.Eval(Container.DataItem, "Question") %></b></td>

    </tr>

    </table>

    <asp:RadioButtonList ID="rblOdg" DataSource="<%# dsQueAns %>"
    RepeatLayout="Table" EnableViewState="True" RepeatDirection="Vertical"

    TextAlign="Left" AutoPostBack="False">

    <asp:ListItem Selected="False">

    <%# DataBinder.Eval(Container.DataItem, "Ans_1") %>

    </asp:ListItem>

    <asp:ListItem Selected="False">

    <%# DataBinder.Eval(Container.DataItem, "Ans_2") %>

    </asp:ListItem>

    <asp:ListItem Selected="False">

    <%# DataBinder.Eval(Container.DataItem, "Ans_3") %>

    </asp:ListItem>

    <asp:ListItem Selected="False">

    <%# DataBinder.Eval(Container.DataItem, "Ans_4") %>

    </asp:ListItem>

    </asp:RadioButtonList>

    </ItemTemplate>

    </asp:Repeater>
    robk, Jul 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravi
    Replies:
    2
    Views:
    4,413
    jagdish
    Aug 18, 2006
  2. Replies:
    1
    Views:
    7,007
    Karl Seguin
    Aug 10, 2005
  3. uncensored
    Replies:
    0
    Views:
    793
    uncensored
    Oct 25, 2006
  4. Replies:
    0
    Views:
    157
  5. Microsoft

    Repeater inside a Repeater

    Microsoft, Aug 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    191
    Microsoft
    Aug 21, 2006
Loading...

Share This Page