By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,179 Members | 2,192 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,179 IT Pros & Developers. It's quick & easy.

asp.net: how can i change backcolor of a button every second?

P: 30
Hi , Im trying to change the button backcolor every second somhow for example from blue to red and after a second red to blue and so on... can somebody please help?
(Im using asp. net and the language is C#)
Nov 4 '07 #1
Share this Question
Share on Google+
2 Replies


Shashi Sadasivan
Expert 100+
P: 1,435
Hi , Im trying to change the button backcolor every second somhow for example from blue to red and after a second red to blue and so on... can somebody please help?
(Im using asp. net and the language is C#)
you would have to use javascript for this.
Not usre how to go about it but the javascript forum might help you.

But on every postback that occours, the buttons colour would change to the original. (until the javascript code kicks in)
Nov 4 '07 #2

P: 30
ok.. Thanks anyway for the attention :-)
Nov 4 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.