In Visual Studio, I want to make the Cancel and Delete buttons in a Datalist template invisible under some circustances. If I refer to these controls in the Page Load events, I get an underline, indicating invalid syntax. For example: btnCancel.visible=False. Yet if I refer to the ADD Record button, which is NOT in the Datalist, the syntax in valid. e.g. btnAdd.Visible=False. How do I refer to the buttons that are in the Datalst?