You'd need to do timing at client. Causing postback is quite easy, just
output a __doPostBack call that is called when timeout is elapsed. You'll
get that done by using Page.GetPostBackEventReference method (it returns you
the javascript call to cause a postback in behalf of given control), then
just output the call and wrap it into js code on the client-side HTML to get
called after time is elapsed. IIRC, js has setTimeout method or something
similar. Unless js isn't robust enough, I think you'd need to use richer
client stuff (maybe Flash or even applet)
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"Tabrez" <Ta****@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Hi,
I'm doing an online examination page. After the alloted time of the exam
the page should be posted back. I've used System.Timers namespace for
timekeeping. Please help me post back the form in 'Elapsed event' of the
timer object. (i m using ASP.net with VB.net)