Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: security between php client and asp net 2.0 web services Pin
raquidd228-Dec-09 14:04
raquidd228-Dec-09 14:04 
GeneralRe: security between php client and asp net 2.0 web services Pin
raquidd228-Dec-09 16:12
raquidd228-Dec-09 16:12 
AnswerRe: security between php client and asp net 2.0 web services Pin
leckey8-Dec-09 16:41
leckey8-Dec-09 16:41 
AnswerRe: security between php client and asp net 2.0 web services Pin
wenjinxu8-Dec-09 22:35
wenjinxu8-Dec-09 22:35 
QuestionHow to determine the originating url? Pin
Goalie358-Dec-09 9:29
Goalie358-Dec-09 9:29 
AnswerRe: How to determine the originating url? Pin
Petr Pechovic8-Dec-09 12:19
professionalPetr Pechovic8-Dec-09 12:19 
QuestionThread Pin
Munteanu Ciprian8-Dec-09 9:26
Munteanu Ciprian8-Dec-09 9:26 
AnswerRe: Thread Pin
Abhishek Sur8-Dec-09 12:21
professionalAbhishek Sur8-Dec-09 12:21 
Well my friend, the process you are using is actually creates one thread in the server side. You need the timer to work in the client side.

In disconnected env (Like Web) whenever a Response is transferred to the client, anything in the server regarding that request disposes. Whenever we call the server again, it will actually create another Response altogether.

Use javacript SetTimeOut/ SetInterval / ClearTimeout to deal with this.

You call like this :

function UpdateStopWatch(){
 ... 
 // Code that updates UI element for the stop watch
 ...
//Also place ClearTimeout to terminate the loop.
}


body onload="javascript:SetInterval('UpdateStopWatch', 1000);"

Read about Javascript timers here
http://www.java-scripts.net/javascripts/Countdown-Timer.phtml[^]
Smile | :)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

QuestionProblem with OnClientClick() & OnClick() Pin
Member 47041438-Dec-09 7:18
Member 47041438-Dec-09 7:18 
AnswerRe: Problem with OnClientClick() & OnClick() Pin
dan!sh 8-Dec-09 7:39
professional dan!sh 8-Dec-09 7:39 
AnswerRe: Problem with OnClientClick() & OnClick() Pin
Abhishek Sur8-Dec-09 7:46
professionalAbhishek Sur8-Dec-09 7:46 
GeneralRe: Problem with OnClientClick() & OnClick() Pin
Member 47041438-Dec-09 12:53
Member 47041438-Dec-09 12:53 
QuestionUser Controls Pin
samir808-Dec-09 6:11
samir808-Dec-09 6:11 
AnswerA wild guess Pin
dan!sh 8-Dec-09 8:08
professional dan!sh 8-Dec-09 8:08 
AnswerRe: User Controls Pin
Abhishek Sur8-Dec-09 8:40
professionalAbhishek Sur8-Dec-09 8:40 
QuestionRetrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:05
rakeshs3128-Dec-09 4:05 
AnswerRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 4:16
Blue_Boy8-Dec-09 4:16 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:26
rakeshs3128-Dec-09 4:26 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 4:29
Blue_Boy8-Dec-09 4:29 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 4:59
rakeshs3128-Dec-09 4:59 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Blue_Boy8-Dec-09 5:06
Blue_Boy8-Dec-09 5:06 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Anurag Gandhi8-Dec-09 4:32
professionalAnurag Gandhi8-Dec-09 4:32 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
rakeshs3128-Dec-09 5:02
rakeshs3128-Dec-09 5:02 
GeneralRe: Retrieve value from TextBox inside a GridView Pin
Abhishek Sur8-Dec-09 5:12
professionalAbhishek Sur8-Dec-09 5:12 
Questionhow to launch an application in the client system? Pin
Prasadsm8-Dec-09 0:01
Prasadsm8-Dec-09 0:01 

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.