I have struggled with this one for days. Tried all the solutions posted by people and nothing is wrong with the code. This problem just doesn't seem to disappear.
Does anyone know why?
<asp:Button ID="placeorderButton" runat="server" Text="Place Order" OnClick="placeorderButton_Click" Visible="False" />
placeorderButton.Visible = false;
It says placeorderButton does not exist in this context. I have no clue why?