Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
protected void Button3_Click(object sender, EventArgs e)
{
Button1.BackColor=System.Drawing.Color.Gold;
Button1.BackColor=System.Drawing.Color.Green;
Button1.BackColor=System.Drawing.Color.red;
}
Posted
Comments
Member 9773317 15-Jun-13 5:50am    
what you want to do exactly ?If you dynamically want to set color dynamically on each click try using JQuery..
mahakaal 15-Jun-13 6:27am    
one way to achieve this is by using timer control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900