This is a migrated thread and some comments may be shown as answers.

radlistview

0 Answers 41 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Mehdi
Top achievements
Rank 1
Mehdi asked on 02 Jan 2013, 03:55 PM

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='<%#"&nbsp;&raquo;"+"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>

No answers yet. Maybe you can help?

Tags
ListView
Asked by
Mehdi
Top achievements
Rank 1
Share this question
or