Scope resolution problem
Hello!
I'm trying to build a custom control for theme slection according to
chapter two...And I'm having some troubles with scope resolution. Specifically, I have a "C:\...\TheBeerHouse\App_Code\Helpers.cs" file.
This file has a function called "GetThemes()".
And I have a conrol ThemeSelector.ascx control which is located in
"C:\...\TheBeerHouse\Conrols".
Now, in my code file for the control (located in "C:\...\TheBeerHouse\Controls\ThemeSelector.ascx.c s") I've got the function:
protected void Page_Load(object sender, EventArgs e)
{
ddlThemes.DataSource = Helpers.GetThemes();...
...}
And I'm getting an error saying that the name "Helpers" does not
exist in the current context.
So my question is, how do I call this function in Helpers.cs so that
the compiler will recognize the path ???
Thank you so much for any suggestions!!
=0)
--fluffy
|