Advertise with us
Control Panel
Forum
Hosting Help
ASP.NET 4.5 & SQL 2012 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
Home
»
Resources
»
When using master page, how to make your aspx web page autorefresh?
ASP.NET
ADO.NET
Web Services
Remoting
Visual Studio 2005
Error Bank
Interview Questions
Tips & Tricks
XML
HTML
Jscript/Javascript
IIS
Windows
General
Submit Resource or code snippet
... and get
surprise gifts
Win Digital camera, ASP.NET Books, Free softwares!!
When using master page, how to make your aspx web page autorefresh?
15 Mar, 2008
Author:
Alexander K
Summary
Ypu are using a single master page for various aspx pages and for one of them you would like to have an autorefresh.
.NET Classes used :
Step 1: in your master page
put an id to your head section
Step 2: in the content page, at some relevant place, put following code. Depending on what you would like to do, it could be in the Load event or somewhere else
Dim metaRefresh As LiteralControl
metaRefresh = New LiteralControl
("
")
Master.FindControl("akHeadSection").Controls.Add(metaRefresh)
Feedbacks about this page from members:
- No Feedbacks yet !! -
Submit Feedback
View All Feedbacks
Total
members
:
250700
Average new registrations per day (in last 7 days):
7
New Registration:
Open
Register Now
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.