i am unable to hide my asp:buttons from CSS. i am using ASP.NET 4
CSS
.SiteButton
{
display: none;
visibility: hidden;
}
HTML
<asp:Button ID="btnFromCalOpen" runat="server" Text=" > " class = "siteButton" />
Please Help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Change
class="siteButton"toCssClass="SiteButton"CSS is case-sensitive for class names and
siteButtonis different fromSiteButton.Also in ASP.NET the class is set by
CssClassrather thanclass, however class will still work since ASP.NET will pass through unknown properties to the browser.