日积月累-编程手记
编程时随手记录的小TIPS
Tuesday, January 31, 2006
MaintainScrollPositionOnPostback--ASP.NET 2.0
In ASP.NET version 1.X, page class has SmartNavigation property,
In ASP.NET version 2.0, use SetFocus method or MaintainScrollPositionOnPostback
get xdata from Autocad command line(LISP code)
(entget (car (entsel)) (list "*"))
jscript-window.history
Use Client Jscript fucction to go forward/backword
window.history.go(1)
window.history.back() = window.history.go(-1)
window.history.forward(1)
Rrefresh window which open the current top window
window.opener.document.form1.submit()
Or
window.opener.history.go(0)
But this will bring up a "Refresh" alert window before refresh.
Newer Posts
Home
Subscribe to:
Posts (Atom)
Blog Archive
June
(1)
April
(2)
April
(1)
August
(1)
April
(1)
March
(1)
February
(1)
March
(1)
February
(2)
August
(1)
April
(1)
March
(1)
February
(2)
November
(3)
September
(1)
August
(1)
June
(1)
April
(1)
March
(1)
February
(5)
January
(1)
August
(1)
July
(1)
January
(2)
August
(1)
June
(1)
March
(4)
February
(3)
January
(3)
Blue Dream.Net
Blue Dream.Net