.NET Custom summary page

Hello,

I am trying to retrieve company details. (this page is similar to company summary page)

This page (dll file) is assigned to a custom tab within company entity. When i find a company and go to my tab containing the dll file i will get a page with fields specified in CompanyBoxShort (default screen) but the actual data is not there. I can see the labels of the fields but i can not see the textboxes containing the data.

I suppose that the constructor is not able to retrieve the data from the table.

Could anyone provide suggestions please? Thank you.

Below is the code of Base.cs

--------------------------------------------------------------

namespace SageTestingPage
{
//static class AppFactory is REQUIRED!
public static class AppFactory
{

public static void RunMyDataPage(ref Web AretVal)
{
AretVal = new myDataPage();
}

}
}

Below is the code of myDataPage.cs class

--------------------------------------------------------------

namespace SageTestingPage
{
public class myDataPage : DataPage
{
public myDataPage()
: base("Company", "comp_companyid", "CompanyBoxShort")
{
UseEntityTabs = true;
UseWorkflow = true;

EditMethod = "RunDataPageEdit";
ContinueMethod = "RunListPage";
}
}
}