Grettings,
I have a Master/Detail page, in the list page I have a dropdown button with two options, edit master/detail record and view master/detail record.
I want remove edit option based in an condition for the records.
I have try
$this->ListOptions["details"]->Body = "";
But this remove two options
When I try
$this->ListOptions["details"]->Items["edit"]->Visible = false;
Send me an error.
What is the correct method for hide one of two options?
Thanks,
Omar