When using HTML we can use <meta> tag to continuously Refresh a page afer a time Interval.
<meta http-equiv="refresh" content="5"/>
Here 5 indicates Seonds after which the Page will get Refreshed.
We can use this tag in Asp.NET to Refresh our Page conditionally.
Only we have to add two more attributes 1. ID 2. runat="server" by which we can access this tag's content from Code behind File. |
Content of .aspx File
<head runat="server"> <meta id="refreshRate" runat="server" http-equiv="refresh" content=""/> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:Label ID="lblName" runat="server" Text="Devi" /> <br /> <asp:Button ID="btnFullName" runat="server" Text="FullName" onclick="btnFullName_Click" /> </div> </form> </body> |
Dec 27, 2012
Asp.net Page Automatically Refresh Meta Tag
12/27/2012 10:03:00 PM
Subscribe to:
Post Comments (Atom)
Recent Posts
Popular Articles
-
Differents between window.top vs window.opener and window. Parent window.top:- The top property references the top level wi...
-
Session Management System Table of Content...
-
Asp.net Connection String Performance Optimization: Introduction: Most ADO.NET data providers use connection pooling to improv...
-
MVC How Can Dynamically parameter set partial view using jquery? Load Value: View the Grid $( "#yourdiv" ).load( ...
-
Asp control Grid view Drag And Drop And Save the Position: Add Js File in your Application: 1.tabledndDemo.js if (docume...
-
What is the difference between Culture and UICulture? UICulture value determines what r...
-
OnSorting="Doc_Sorting" protected void Doc_Sorting(object sender, GridViewSortEventArgs e) { ...
-
Explain GUID: GUID is Global unique identifier it can be used namespace Using System; Assemble name is: mscorlib.dl...
-
Introduction For any operation over a temporary result set, what are the options SEL Server has to offer? We do have a Temp table, a ta...
-
I am attempting to install the ASP.NET 4.0 runtime to IIS by running the following command: C:\Windows\Microsoft.NET\Framework\v4.0.3...

0 comments:
Post a Comment