R
Rodrigo m. Ferreira
Whats wrong with this code?
on the default.aspx I have this:
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click"
Text='<%=Titulo(); %>'></asp:LinkButton>
on the default.aspx.cs I have this:
private string Titulo()
{
return "Rodrigo";
}
In this case the function is not usefull, but i am just making some tests.
The problem is that the text of the LinkButton1 is blank.
Sorry about my bad english.
Thanks for helping!
on the default.aspx I have this:
<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click"
Text='<%=Titulo(); %>'></asp:LinkButton>
on the default.aspx.cs I have this:
private string Titulo()
{
return "Rodrigo";
}
In this case the function is not usefull, but i am just making some tests.
The problem is that the text of the LinkButton1 is blank.
Sorry about my bad english.
Thanks for helping!