<asp:Button ID="btnCancelProfile" runat="server" Text="Cancel" CausesValidation="False" EnableViewState="False" OnClientClick="HideElement('<%# tblProInfo.ClientID %>');" UseSubmitBehavior="False" />Something is wrong here, because in the script I get What as
<%...instead of the actual id.