what i want is when my page loads up i should get the updat dat every sec from the server (Like stock market).
For now i need sample applaction to go through.
Any Help would be appreciated.
For right now i am tring also to get system time kee running. the code for this is but not working (What i need is no button and my label should shoe the sytem time with seconds)
muhammadazee...
Member
4 Points
164 Posts
how to use Script Manager
May 07, 2012 03:01 PM|LINK
what i want is when my page loads up i should get the updat dat every sec from the server (Like stock market).
For now i need sample applaction to go through.
Any Help would be appreciated.
For right now i am tring also to get system time kee running. the code for this is but not working (What i need is no button and my label should shoe the sytem time with seconds)
<%
@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestApplication._Default" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml"
>
<
head runat
="server">
<title></title>
</
head
>
<
body
>
<form id="form1" runat="server">
<h1> Using Script Manager</h1>
<div>
<asp:ScriptManager ID="MAinScriptManager" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="Button" runat="server" Text="AJAX" onclick="Button_Click" />
<asp:Label ID="Label" runat="server" Text="Label"/>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</
body
>
</
html
>