Click here to Skip to main content
15,921,548 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one asp:abel and one asp:Button so i want to change this Label text on single clicking on button but user want to click only one time and the text of lable is changing continuously without refreshing a page.

i have created one unique random function and wnat to call this function on single button clik with specified time interval and assign this random number to that label

and I have arrange numbers in tabular form using
tag there is no any e.g

1|12|23|34|45|56|67|78|89
2......................90
3......................91
4......................92
5......................93
6......................94
7......................95
8......................96
9......................97
10.....................98
11.....................99
and at the same time when label text is change want to change a color or mark that number in div tag means stated above arragement
Posted

You could use javascript for that. Javascript is executed on the client and therefor doesn't need a page refresh. Have a look at this link:
http://msdn.microsoft.com/en-us/library/aa479011.aspx[^]

If you need to call the server but don't want to refresh the page, then you can look into ajax.
http://ajax.net-tutorials.com/[^]

Good luck!
 
Share this answer
 
you can use timer control in asp.net
and then on chnage tick event u can call function
and set tick time in event so functin will get call as the time changes.
 
Share this answer
 

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