I create a radlistview and bind it with objectdatasource and define a linkbutton in radlistview and linkbutton text bind to multi column in radlistview to display multi line in my radlisview.
Now I want when a user click on linkbutton, one row of radlistview that user clicked on is set to a session so I could use it in other pages.
I define selected items in radlistview itemdatabound event or in radlistview itemcommand event, but these events not fire .please help me. my code is:
<telerik:radlistview .....>
<ItemTemplate>
<asp:LinkButton ID="lbl1" runat="server" OnClick="linqbutton1_Click" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>' Text='<%#" »"+"buy"+" "+Eval("MelkType")+" "+Eval("MelkSize")+" meter"+" "+Eval("Melkregion") %>' style="margin-right:0px;direction:rtl;margin- "> </asp:LinkButton> <br /> <br /> </ItemTemplate> </telerik:RadListView> <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="RentalApartmentGet" TypeName="mymelkclass"> </asp:ObjectDataSource>