Click here to Skip to main content
15,904,494 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: datalist Pin
pinna_hari25-Aug-08 1:41
pinna_hari25-Aug-08 1:41 
GeneralRe: datalist Pin
Manas Bhardwaj25-Aug-08 1:44
professionalManas Bhardwaj25-Aug-08 1:44 
AnswerRe: datalist Pin
Manas Bhardwaj25-Aug-08 1:47
professionalManas Bhardwaj25-Aug-08 1:47 
QuestionProblem with crystal reports Pin
pinna_hari25-Aug-08 1:18
pinna_hari25-Aug-08 1:18 
QuestionDate selector problem Pin
Rameez Raja25-Aug-08 1:08
Rameez Raja25-Aug-08 1:08 
GeneralRe: Date selector problem Pin
Brij25-Aug-08 1:19
mentorBrij25-Aug-08 1:19 
GeneralRe: Date selector problem Pin
Rameez Raja25-Aug-08 1:27
Rameez Raja25-Aug-08 1:27 
Questionhow to display timer dynamically in a asp.net form? Pin
balaji.t25-Aug-08 0:43
balaji.t25-Aug-08 0:43 
hi folks,

I wud like to display running time in my page using javascript.For that i ve used the following client side function.

<form name="counter"><input type="text" size="8"
name="d2"></form>
<script type="text/javascript">
var milisec=0
var seconds=120
// document.counter.d2.value=0
function display()
{
if (milisec<=0){
milisec=9
seconds-=1
}
if (seconds<=-1)
{
milisec=0
seconds+=1
}
else
milisec-=1
document.counter.d2.value=seconds+"."+milisec
setTimeout("display()",1000)
}

display()

ive hardcoded it as 120 seconds.But i need to pass a value from code behind dynamically and make the timer run for that value.
for e.g i want to pass as display(180) and run the timer.Is there any way of achieving this?Thanx in advance

T.Balaji

AnswerRe: how to display timer dynamically in a asp.net form? Pin
Manas Bhardwaj25-Aug-08 0:47
professionalManas Bhardwaj25-Aug-08 0:47 
GeneralRe: how to display timer dynamically in a asp.net form? Pin
balaji.t25-Aug-08 1:51
balaji.t25-Aug-08 1:51 
GeneralRe: how to display timer dynamically in a asp.net form? Pin
Manas Bhardwaj25-Aug-08 2:15
professionalManas Bhardwaj25-Aug-08 2:15 
QuestionNhibernate Basic sample code Pin
Member 438787925-Aug-08 0:41
Member 438787925-Aug-08 0:41 
AnswerRe: Nhibernate Basic sample code Pin
N a v a n e e t h25-Aug-08 0:47
N a v a n e e t h25-Aug-08 0:47 
QuestionMissing FileUpload Path Pin
slSoftware25-Aug-08 0:01
slSoftware25-Aug-08 0:01 
AnswerRe: Missing FileUpload Path Pin
N a v a n e e t h25-Aug-08 0:24
N a v a n e e t h25-Aug-08 0:24 
AnswerRe: Missing FileUpload Path Pin
Tripathi Swati25-Aug-08 0:42
Tripathi Swati25-Aug-08 0:42 
GeneralRe: Missing FileUpload Path Pin
slSoftware25-Aug-08 4:23
slSoftware25-Aug-08 4:23 
GeneralRe: Missing FileUpload Path Pin
D4ever27-Aug-08 8:52
D4ever27-Aug-08 8:52 
QuestionBind Data by Alphabets Pin
Imran Khan Pathan24-Aug-08 23:46
Imran Khan Pathan24-Aug-08 23:46 
AnswerRe: Bind Data by Alphabets Pin
The Web Developer24-Aug-08 23:51
The Web Developer24-Aug-08 23:51 
GeneralRe: Bind Data by Alphabets Pin
Imran Khan Pathan24-Aug-08 23:57
Imran Khan Pathan24-Aug-08 23:57 
AnswerRe: Bind Data by Alphabets Pin
Blue_Boy25-Aug-08 0:06
Blue_Boy25-Aug-08 0:06 
GeneralRe: Bind Data by Alphabets Pin
Imran Khan Pathan25-Aug-08 0:21
Imran Khan Pathan25-Aug-08 0:21 
GeneralRe: Bind Data by Alphabets Pin
The Web Developer25-Aug-08 0:52
The Web Developer25-Aug-08 0:52 
AnswerRe: Bind Data by Alphabets Pin
Imran Khan Pathan25-Aug-08 1:35
Imran Khan Pathan25-Aug-08 1:35 

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.