Hello,
I need to change buttons text when user clicks it, the button is in a listview
everything seems to be fine but the fact that its not showing on screen
this is part of my code
.
.
.
I need to change buttons text when user clicks it, the button is in a listview
everything seems to be fine but the fact that its not showing on screen
this is part of my code
<asp:ListView ID="TeachersList" runat="server" OnItemCommand="ShowNumber_ItemCommand">
.
.
.
<ItemTemplate >
.
.
.
<asp:LinkButton ID="ShowNumberLinkButton" runat="server" CommandName="ShowNumber" CommandArgument='<%# Eval("UserID") %>' Text=" "></asp:LinkButton>
.
.
.
Protected Sub ShowNumber_ItemCommand(ByVal sender As Object, ByVal e As ListViewCommandEventArgs)
For Each row In TeachersList.Items
For Each control In row.Controls
if control.CommandArgument = UserID Then
control.Text = "bla bla"
.
.
.
Please help, thanks