User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,508 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,686 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 727 | Replies: 1
Reply
Join Date: Jun 2007
Posts: 1
Reputation: awanti is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
awanti awanti is offline Offline
Newbie Poster

Question Time setting

  #1  
Jun 23rd, 2007
hi everyone,
Iam doing a question bank and solution project.My problem is how to set time when a student is solving a paper.I tried using javascript
but when a postback occurs the timer is reset.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2007
Posts: 18
Reputation: NET-Developer is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
NET-Developer NET-Developer is offline Offline
Newbie Poster

Re: Time setting

  #2  
Jun 29th, 2007
When submitting form (before calling postback) you can store current time to some hidden field, and when you load data from postback, just read data from this field and continue time counting from that value.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 4:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC