J
Jack
Why won't this work?
in the .aspx file:
<asp:TextBox id="name1" runat="server" Text='<%#
GetValue(1)%>'></asp:TextBox>
in the codebehind file:
public string GetValue( int index )
{
return "dog";
}
So, the text "dog" should appear in the textbox...but it doesn't. It
is just blank. I obviously simplified this code in the process of
debugging; it appears the function isn't getting called for some
reason.
Thanks,
Jack
in the .aspx file:
<asp:TextBox id="name1" runat="server" Text='<%#
GetValue(1)%>'></asp:TextBox>
in the codebehind file:
public string GetValue( int index )
{
return "dog";
}
So, the text "dog" should appear in the textbox...but it doesn't. It
is just blank. I obviously simplified this code in the process of
debugging; it appears the function isn't getting called for some
reason.
Thanks,
Jack