hello,
I have become a little stuck, basically i have a page with details about a particular music release, and on that page i have a repeater supplying a list of users (as linkbuttons)of the site who have written reviews of the music release, what needs to happen is when a user is clicked on in this list then their review should be displayed on a label on the page which is already there, i've been trying to get this to work by calling a function in my code behind, but this hasn't worked (i don't know if i've been going about it the right way, or if this is possible).
my aspx page code at the moment for this bit is:
<asp:repeater id="RepeaterReviews" runat="server">
<ItemTemplate>
<asp:LinkButton id="Linkbutton2" runat="server" BackColor="#CCCCCC">
<%# container.dataitem("Username" %>
</asp:LinkButton>
<br>
</ItemTemplate>
</asp:repeater>
i tried making an onclick for the linkbutton but wasn't quite sure how to go about it...
if anyone could help that would be greatly appreciated. I'm sorry if i haven't been very clear on my problem, don't hesitate to request more details, i will be more than happy to oblige!
cheers,
matt
ps be excellent to each other
I have become a little stuck, basically i have a page with details about a particular music release, and on that page i have a repeater supplying a list of users (as linkbuttons)of the site who have written reviews of the music release, what needs to happen is when a user is clicked on in this list then their review should be displayed on a label on the page which is already there, i've been trying to get this to work by calling a function in my code behind, but this hasn't worked (i don't know if i've been going about it the right way, or if this is possible).
my aspx page code at the moment for this bit is:
<asp:repeater id="RepeaterReviews" runat="server">
<ItemTemplate>
<asp:LinkButton id="Linkbutton2" runat="server" BackColor="#CCCCCC">
<%# container.dataitem("Username" %>
</asp:LinkButton>
<br>
</ItemTemplate>
</asp:repeater>
i tried making an onclick for the linkbutton but wasn't quite sure how to go about it...
if anyone could help that would be greatly appreciated. I'm sorry if i haven't been very clear on my problem, don't hesitate to request more details, i will be more than happy to oblige!
cheers,
matt
ps be excellent to each other