Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <asp:DataList ID="dtQuestion" runat="server" RepeatDirection="Vertical" OnItemDataBound="FormatDataListRow" >
  2. <ItemTemplate>
  3. <asp:Panel id="panel" runat="server" BorderColor="#536895" BorderStyle="Solid" BorderWidth="1" style="display: none;" EnableViewState="true">
  4. <asp:Label id="lblQuestionDesc" runat="server" Text="" ></asp:Label>
  5. <asp:RadioButtonList id="rbl" runat="server" EnableViewState="true" > </asp:RadioButtonList>
  6. </asp:Panel>
  7. </ItemTemplate>
  8. </asp:DataList>
  9.  
  10. string id;
  11. if (c.GetType().ToString().Equals("System.Web.UI.WebControls.RadioButtonList"))
  12. {
  13. if (c.ID != "rbl")
  14. {
  15. id = c.ID;
  16. al.Add(id + "," + ((RadioButtonList)c).SelectedItem.Value); //SelectedValue); //
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement