I am trying to either disable / hide the lnkDelete button that is located inside repeater control. I used this method, however I get an error message:
Object reference not set to an instance of an object. I am not sure what seems to be the problem. I am able to use intellesense to show the Visible property of the control, this proof to me that I do have scope to the control inside the repeater, anyone can help.
thanks

```
    protected void rptCAP_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
        var lnkDel = e.Item.FindControl("lnkDelete").Visible = false;
      }

```

Bob white