Login

Compile error: (Obsolete) TabInfoList has been replace by Tabs

Versions: 4.20, FAQ number: 78, Old FAQ number: 940

The EPiServer.DataAccess.TabInfo class has been marked obsolete as of EPiServer 4.20 and has been replaced by EPiServer.DataAbstraction.TabDefinition. The old class will still work for a period of time for backward compability but we recommend that you recompile your application with the new class. Example code from register.ascx/register.aspx:

Change namespace DataAccess:

using

EPiServer.DataAccess;

to namespace DataAbstraction:

using EPiServer.DataAbstraction;

and change the code:

EditForm.TabInfoList =

new TabInfo[] { new TabInfo(0,"") };

to use the new classes:

EditForm.Tabs.Add(

new TabDefinition(0,"") );
EPiTrace logger