I would like to see if it's possible to pass the value from a container.data with rad button in an asp.repeater control.
<script type="text/javascript">
function open_windowtemplate_AddSection(sender, args) {
var button = sender.get_id();
alert($(button).commandarguments);
}
</script>
<asp:Repeater ID="rpt_Channel" runat="server" OnItemDataBound="rpt_Channel_ItemDataBound">
<ItemTemplate>
<tr>
<td colspan="4" class="MainLineItem">
<div style="float:left;">■ <asp:Label ID="lbl_ChapterName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Chapter")%>'></asp:Label></div>
<div style="float:right">
<asp:ImageButton ID="imgbtn_AddSection" runat="server" AlternateText="Click to add section" ImageUrl="~/Includes/images/green_plus_add.png" Height="20px" CommandName="Add" />
<telerik:RadButton ID="radbutton_AddSection" runat="server" Text="+" CommandArgument='<%Databinder.Eval(Container.DataItem, "Channel_ID") %>'
ButtonType="StandardButton" OnClientClicked='open_windowtemplate_AddSection' AutoPostBack="false">
</telerik:RadButton>