please help!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: please help!

  1. #1
    Join Date
    Jan 2011
    Posts
    1

    Smile please help!

    i'm new using VS Web Developer..

    i want to refresh m web page every 10 second..
    i think add timer conrol will solve my problem..
    first i didn't see timer on default toolbox, then i add manually..
    but i get this message when run..

    The control with ID 'Timer1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    please help solve this..

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    http://msdn.microsoft.com/en-us/library/bb386404.aspx

    If you simply want to refresh the whole page every 10 seconds, you can add this JavaScript code to the page:
    Code:
    <script type="text/javascript">
       setTimeout("location.reload(true);", 10000);
    </script>
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center