Hi all
In my codebehind class I have the following
public String GetDisplayText(String originalText)
It replaces < with < etc
What I need to know is, in my ASPX file how do I call this method? I tried
<% GetDisplayText("<<<") %>
but the compiler fails, saying the GetDisplayText could not be found. I
also tried making this a static method and calling
MyPageClassName.GetDisplayText but received the same error.
I don't want to place the method code inside the ASPX, so, how do I call a
public method which exists within my codebehind?
Thanks
--
Pete
-------
Read/Write .NET articles
http://www.howtodothings.com/showart...ubcategory=132