我有一个像这样的网格视图:
<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="true"
PageSize="20" OnPreRender="RadGrid1_PreRender" Width="500px">
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView TableLayout="Fixed" Width="500px">
<ItemTemplate>
<%# (((GridItem)Container).ItemIndex != 0)? "</td></tr></table>" : "" %>
<asp:Panel ID="ItemContainer" CssClass='<%# (((GridItem)Container).ItemType == GridItemType.Item)? "item" : "alternatingItem" %>'
runat="server">
<asp:Image ID="image_event" runat="server" ImageUrl='<%# Eval("event_pic")%>' AlternateText="" />
<asp:RadioButton ID="rbtn_map" runat="server" onclientclick="adjustSelected(this)" />
</asp:Panel>
</ItemTemplate>
</MasterTableView>
<GroupingSettings CaseSensitive="false" />
</telerik:RadGrid>
我想通过客户端方法adjustSelected(this)
循环遍历所有单选按钮使它们未选中并将单击的单选按钮设置为仅选中。