A
Andrew Pasetti
I'm having trouble getting a function to return a string from within a
hyperlinkcolumn. Perhaps someone can suggest what I'm doing wrong. I've used
a test string just to test the function. Unfortunately nothing is being
returned.
Thank you in advance,
Andrew
Within the datagrid:
<asp:HyperLinkColumn Text='<% FormatText("test") %>'
....></asp:HyperLinkColumn>
Within the code behind page:
Public Function FormatText(ByVal strText As String)
Return strText
End Function
hyperlinkcolumn. Perhaps someone can suggest what I'm doing wrong. I've used
a test string just to test the function. Unfortunately nothing is being
returned.
Thank you in advance,
Andrew
Within the datagrid:
<asp:HyperLinkColumn Text='<% FormatText("test") %>'
....></asp:HyperLinkColumn>
Within the code behind page:
Public Function FormatText(ByVal strText As String)
Return strText
End Function