Click here to Skip to main content
15,897,163 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Dynamic Control Events not Fireing Pin
André Stroebel9-Apr-08 2:42
André Stroebel9-Apr-08 2:42 
Generalvs 2005 and windows vista untimate Pin
AnhTin9-Apr-08 1:27
AnhTin9-Apr-08 1:27 
GeneralRe: vs 2005 and windows vista untimate Pin
Jesse Squire9-Apr-08 1:54
Jesse Squire9-Apr-08 1:54 
QuestionJavascript Timer Pin
senthilsstil9-Apr-08 1:25
senthilsstil9-Apr-08 1:25 
GeneralRe: Javascript Timer Pin
Christian Graus9-Apr-08 2:09
protectorChristian Graus9-Apr-08 2:09 
GeneralRe: Javascript Timer Pin
Jesse Squire9-Apr-08 2:11
Jesse Squire9-Apr-08 2:11 
GeneralRe: Javascript Timer Pin
eyeseetee9-Apr-08 2:18
eyeseetee9-Apr-08 2:18 
GeneralRe: Javascript Timer Pin
Sandilian9-Apr-08 2:24
Sandilian9-Apr-08 2:24 
hai Friend.
Please add window.opener='x' code before window.close



<script language="jscript" type="text/javascript">

function startTimer1(h,m,s)
{

var today=new Date();
if(h=="0" && m=="0" && s=="0")
{
h=00;
m=01;
s=00;
}
else
{
if(s=="00")
{
s=59;
if(m=="00" && h!="00")
{
h=parseInt(h)-1;
m=59;
}
else if(m!="00" && h=="00")
{
m=parseInt(m)-1;
}
else if(m!="00" && h!="00")
{
m=parseInt(m)-1;
}
else if(s=="00" && m=="00")
{
if(h!="00")
h=parseInt(h)-1;
}
}
else
s=parseInt(s)-1;
}

// add a zero in front of numbers<10

h=checkTime(h);
m=checkTime(m);
s=checkTime(s);
var timerText=h+":"+m+":"+s;
document.getElementById("<%=txtTimerId.ClientID%>").innerText=timerText;
if(timerText =="00:00:00")
{
alert("Your time is Over,Now the Application is going to close");
/// This is the Code I added here;
window.opener='x';
window.close();
return true;
}
t=setTimeout('startTimer1('+h+','+m+','+s+')',1000);
}
function checkTime(i)
{
if (i<10)
{
i="0" + i;
}
return i;
}

</script>
AnswerRe: Javascript Timer Pin
Ashish Sehajpal9-Apr-08 3:18
Ashish Sehajpal9-Apr-08 3:18 
GeneralUrgent : Data Purging of previous month Pin
rockz...9-Apr-08 1:19
rockz...9-Apr-08 1:19 
GeneralRe: Urgent : Data Purging of previous month Pin
Christian Graus9-Apr-08 2:10
protectorChristian Graus9-Apr-08 2:10 
Generalbatch processing Pin
marygoldg9-Apr-08 0:46
marygoldg9-Apr-08 0:46 
Questionhow do I InvokeScript? Pin
pbeeby9-Apr-08 0:14
pbeeby9-Apr-08 0:14 
AnswerRe: how do I InvokeScript? Pin
Christian Graus9-Apr-08 0:33
protectorChristian Graus9-Apr-08 0:33 
GeneralGoogle Analytics with asp.net multiview control Pin
marky7778-Apr-08 23:06
marky7778-Apr-08 23:06 
Generalcrystal report problem in FireFox and opera Pin
Amr M. K.8-Apr-08 23:04
Amr M. K.8-Apr-08 23:04 
GeneralHttp 400 bad request error Pin
Fuhrer8-Apr-08 22:57
Fuhrer8-Apr-08 22:57 
GeneralRe: Http 400 bad request error Pin
eyeseetee8-Apr-08 23:07
eyeseetee8-Apr-08 23:07 
QuestionAre new ASP session id generated while moving from http to https page(& vice versa)? Pin
dan!sh 8-Apr-08 22:49
professional dan!sh 8-Apr-08 22:49 
AnswerRe: Are new ASP session id generated while moving from http to https page(& vice versa)? Pin
eyeseetee8-Apr-08 23:07
eyeseetee8-Apr-08 23:07 
AnswerRe: Are new ASP session id generated while moving from http to https page(& vice versa)? Pin
N a v a n e e t h8-Apr-08 23:10
N a v a n e e t h8-Apr-08 23:10 
GeneralRe: Are new ASP session id generated while moving from http to https page(& vice versa)? Pin
dan!sh 8-Apr-08 23:16
professional dan!sh 8-Apr-08 23:16 
GeneralQuestion Pin
nithydurai8-Apr-08 22:30
nithydurai8-Apr-08 22:30 
GeneralRe: Question Pin
N a v a n e e t h8-Apr-08 22:34
N a v a n e e t h8-Apr-08 22:34 
GeneralRe: Question Pin
Christian Graus8-Apr-08 23:57
protectorChristian Graus8-Apr-08 23:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.