I need to show/hide the detail link when user click on each row to see the detail link. I put this code in list page / function Page_Render()
But it only works in case CurrentValue = '1'.
Where should i put this code please?
if ($this->gender->CurrentValue = '1') {
$this->DetailPages["husband"]->Visible = False;
$this->DetailPages["wife"]->Visible = True;
}
if ($this->gender->CurrentValue = '0') {
$this->DetailPages["husband"]->Visible = True;
$this->DetailPages["wife"]->Visible = False;
}