I'm having an issue with the tabs on my .net pages. Pages are created inheriting the dll classes (DataPageEdit, DataPage, etc)
If I don't include GetTabs("customentity"); in the buildcontents override it shows the tabs of the parent entity. However, if I include this line when I click on the summary tab I get two stacked sets of tabs.
public class BuildingData : DataPage
{ public BuildingData()
: base("Building", "bldg_buildingid", "BuildingNewEntry")
{
this.EditMethod = "RunBuildingEdit";
this.ContinueMethod = "RunBuildingList";
}
public override void BuildContents()
{
GetTabs("Building", "Building Summary");
base.BuildContents();
I'm only having this issue when I inherit from those pages. I'm sure it has to do with the override of BuildContents, but I'm not sure how to correct this other than just not using the inherited classes.