N
Nobody
I want to call a function in the code behind .CS page from the .aspx page:
<a><%# GetDeptHeader() %></a>
basically I want it to display the string returned from GetDeptHeader().
With the link formated like above, GetDeptHeader() doesn't even get called.
If I change it to:
<a><% GetDeptHeader() %></a>
then it gets called, but it never displays the string... this is the
function:
protected string GetDeptHeader()
{
return "Test";
}
<a><%# GetDeptHeader() %></a>
basically I want it to display the string returned from GetDeptHeader().
With the link formated like above, GetDeptHeader() doesn't even get called.
If I change it to:
<a><% GetDeptHeader() %></a>
then it gets called, but it never displays the string... this is the
function:
protected string GetDeptHeader()
{
return "Test";
}