With reference th the following thread:
thread855-1049521
I am basically hitting a wall to have a base page as a common repository for a set of functions:
maybe I will have 2 user controls: header and footer.
Rest will be just c# functions and some business logic, set-reset session variables.
Can never get to tun the aspx. How does this work. Here is my agony:
basePage.cs
namespace library.Includes
{
public class basePage : System.Web.UI.Page
{
public basePage()
{
//
// TODO: Add constructor logic here
//
}
public string hostServer()
{
return Request.ServerVariables["HTTP_HOST"];
}
public string webAppsPath()
{
return Request.ServerVariables["PATH_INFO"];
}
}
}
My aspx.cs is:
public class _default:library.Includes.basePage
In the Page_Load class, I can see hostServer() ... etc
But on the browser I always get: missing reference to the library.
I am to a point where I am doing trial and error.
I need to do exactly as in the above thread and am stuck!
Please help ...
thread855-1049521
I am basically hitting a wall to have a base page as a common repository for a set of functions:
maybe I will have 2 user controls: header and footer.
Rest will be just c# functions and some business logic, set-reset session variables.
Can never get to tun the aspx. How does this work. Here is my agony:
basePage.cs
namespace library.Includes
{
public class basePage : System.Web.UI.Page
{
public basePage()
{
//
// TODO: Add constructor logic here
//
}
public string hostServer()
{
return Request.ServerVariables["HTTP_HOST"];
}
public string webAppsPath()
{
return Request.ServerVariables["PATH_INFO"];
}
}
}
My aspx.cs is:
public class _default:library.Includes.basePage
In the Page_Load class, I can see hostServer() ... etc
But on the browser I always get: missing reference to the library.
I am to a point where I am doing trial and error.
I need to do exactly as in the above thread and am stuck!
Please help ...