471,863 Members | 1,196 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,863 software developers and data experts.

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

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
2 1307
Shashi Sadasivan
1,435 Expert 1GB
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
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.

Similar topics

10 posts views Thread by James McGivney | last post: by
reply views Thread by Miquel | last post: by
2 posts views Thread by Grey | last post: by
reply views Thread by shamirza | last post: by
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.