Hello
I have a radgrid configured to return results based on an ArrayList. The results are a list of file names, and are displayed correctly. I would like to configure it, so when I click on one of the items in the grid a peice of server side (c#) code is executed. I have done this in other grids where they are bound to SQL, but I can't find out how to pass in the data from the link into the server side code. In other grids, I pass it in like below, but because the columns are automatic and it is an ArrayList, this seems more difficult, any suggestion would be welcomed.
I have a radgrid configured to return results based on an ArrayList. The results are a list of file names, and are displayed correctly. I would like to configure it, so when I click on one of the items in the grid a peice of server side (c#) code is executed. I have done this in other grids where they are bound to SQL, but I can't find out how to pass in the data from the link into the server side code. In other grids, I pass it in like below, but because the columns are automatic and it is an ArrayList, this seems more difficult, any suggestion would be welcomed.
<telerik:GridTemplateColumn meta:resourcekey="ColumnSubject">
<ItemTemplate>
<asp:LinkButton runat="server" ID="btnShowEmailPreview" Width="200px" CommandName="RowClick" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"ExecutedActionLogID")%>'
><%#DataBinder.Eval(Container.DataItem, "Subject")%></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
Regards