Select radio button client-side
New DiscussionIn my .aspx page I have an Itemtemplate code to display a RadioButtonList:
<ig:TemplateDataField Key=”TemplateField_Status”>
<Header Text=”Status”>
</Header>
<ItemTemplate>
<asp:RadioButtonList ID=”rblStatus” runat=”server” RepeatDirection=”Horizontal”>
<asp:ListItem Selected=”True” style=”padding-right:25px;”>Exclude Time</asp:ListItem>
<asp:ListItem style=”padding-right:25px;”>Stop</asp:ListItem>
<asp:ListItem>Complete</asp:ListItem>
</asp:RadioButtonList>
</ItemTemplate>
</ig:TemplateDataField>
I have a button on the web page that calls JavaScript code and I’d like to change all the rows in the grid to have the “Complete” ListItem selected. How do I reference the radio button so I can set the “Complete” radio button for each row?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
2 Created On
Sep 29, 2017 Last Post
8 years, 5 months ago