Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

On my webform i have a gridview, Just above Gridview i need LABEL with diplaying message for every 30 seconds. "updating Data"

This "updating data" message should come for every 30 seconds.


Please send me code.

Thanks.
Posted

1 solution

JavaScript
setTimeout ('UpdateLabel();',30000);

function UpdateLabel()
{
         $("#lblUpdate").val('updating data');
}
 
Share this answer
 
Comments
Syed SufiyanUddin 16-Apr-12 12:12pm    
where should i write this code ?
S@53K^S 16-Apr-12 14:44pm    
in the .aspx markup.

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