I'm trying to hide a field in the detail table when using Master/Detail add (URL MyMasterTableAdd?showdetail=MyDetailTable)
In Page_Render for list of the detail table I tried adding this:
if ($this->CurrentAction == "gridadd") {
$this->YourFieldName->Visible = false; // adjust YourFieldName to your actual field name
}
But it does nothing.
Any ideas?
v2023