I am trying to change the text of label 1. Here is my ASPX code:
<form id="form1" runat="server">
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
And here is my VB:
Protected Function Test() As Boolean
Label1.Text = "hello world"
But the label does not change even though when I load the page, function "test" is executed (the response.write works)
I do not understand why the label doesn't change when function "test" is executed? Can someone help? How do I change the label within function "test"