I had controls any control have class from style sheet when I click on event .I tried to do that but i didnot please any one help me.
aspx:
<a id="CPCSS" runat="server" href="CompanyProfile.aspx" >Company Profile</a>
CEO Word
cs:
protected void CPCSS_onclick(object sender, EventArgs e)
{
CPCSS.Attributes.Add("Class", "ad_mun_font_r");
CEOCSS.Attributes.Add("Class", "ad_mun_font");
}
protected void CEOCSS_onclick(object sender, EventArgs e)
{
CEOCSS.Attributes.Add("Class", "ad_mun_font_r");
CPCSS.Attributes.Add("Class", "ad_mun_font");
}