RE: How to get the control ID of TabPage
[FormEventHandler(formStr(EntAssetObjectType), FormEventType::Initialized)]
public static void EntAssetObjectType_OnInitialized(xFormRun sender, FormEventArgs e)
{
FormRun formrun = sender as FormRun;
FormControl externalId = sender.control(sender.controlId('TabPageChecklist'));
int test = externalId.id(); //formrun.design().control(formrun.controlId(formControlStr(EntAssetObjectType, TabPageChecklist))).id();
// sysListPanel_Variable = AvaSysListPanel_EntAssetObjectTypeVariable::newForm(this, this.controlId(formControlStr(EntAssetObjectType, TabPageChecklist)));
// Custom class AvaSysListPanel_EntAssetObjectTypeVariable passing form run and parent id
AvaSysListPanel_EntAssetObjectTypeVariable::newForm(sender, test));
// but getting this button error on the method InIT()
// not getting the add button its always show the null
sysListPanel_Variable.init();
}