calcat
-
10/23/2006 11:16:08 PM
Function GetPathLevel
Hi,
I have reviewed quite a few posts regarding the use of the Function 'GetPathLevel' and 'GetAliasPath.'
these appear to be exactly what I need to use in order ot accomplish the functionality that I need. I have included the code in the .cs page:
c_event.SelectNodesPath = Functions.GetPathLevel(Functions.GetAliasPath(), 1) + "/%";
where c_event is the id of a CMS.Repeater
When I go to display the page in the web site I get this error: Kentico.CMS.TreeEngine.Functions' does not contain a definition for 'GetPathLevel'
Both functions GetPathLevel and GetAliasPath are in the Functions.cs file that is located in my project under the App_Code folder.
What is going wrong?
|