Click here to Skip to main content
15,943,335 members

Comments by Raaj_007 (Top 3 by date)

Raaj_007 1-Feb-13 5:23am View    
Here is the code

<pre>

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_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>Test</title>

</head>
<body>
<form id="frmGridView" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"/>

<script type="text/javascript" language="javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler);

function endRequestHandler()
{

var userID = "";
alert(userID);
SelectSibling(event);
}

</script>
<asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
<contenttemplate>

<asp:Timer ID="Timer1" runat="server" Interval="300" ontick="Timer1_Tick">

<asp:Label ID="Label1" runat="server" Text="Label">
<br />

<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" />
</Triggers>

</form>
</body>
</html>





protected void Timer1_Tick(object sender, EventArgs e)
{
Label1.Text=(i++).ToString();
gridView.DataSource = GetDataSource();
gridView.DataBind();
}

</pre>
Raaj_007 4-Jul-11 14:49pm View    
Abhinav S: my5
Raaj_007 4-Jul-11 14:48pm View    
Deleted
my5