vbnetcoder
asked on
repeater control - get values
I have a repeater control laid out as shown in the code attached.
Now, if the user clicks on the lnkRemoveCategory button I need the value of "Path" passed to a asp.net code procedure so that I can do some stuff.
How?
Now, if the user clicks on the lnkRemoveCategory button I need the value of "Path" passed to a asp.net code procedure so that I can do some stuff.
How?
<asp:Repeater ID="rpCategories" runat="server">
<ItemTemplate>
<font size="2"><%#Eval("Path")%>
<asp:LinkButton ID="lnkRemoveCategory" runat="server">Remove</asp:LinkButton></font>
<hr />
</ItemTemplate>
</asp:Repeater>
ASKER
Could it call a code behind function?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.linkbutton.commandargument.aspx#Y760
Open in new window