Click here to Skip to main content
15,923,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 14:40
Trak4Net18-Jul-12 14:40 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 16:01
professionaljkirkerx18-Jul-12 16:01 
GeneralRe: Rephrase the Question Pin
dcof18-Jul-12 18:49
dcof18-Jul-12 18:49 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 19:29
Trak4Net18-Jul-12 19:29 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:35
professionaljkirkerx18-Jul-12 19:35 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 19:38
Trak4Net18-Jul-12 19:38 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:42
professionaljkirkerx18-Jul-12 19:42 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:32
professionaljkirkerx18-Jul-12 19:32 
Aw, The page lifecycle

OnInit, Intialize the html elements on the page
onLoad, load values for the html elements

once the page does onInit, the html elements are cast in stone, and will not change

Once the page does onLoad, you can populate values in the html elements

During a postback to the server, the html elements are rock solid, and the values will remain, but things like scroll position reset back to default. The page does not have the ability to remember little details like scroll position

MaintainScrollPosition is for the scroll of the whole page, and not a panel.

But, maybe, instead of page.MaintainScrollPosiiton, you could do panelName.MaintainScrollPosition

Other that that, you would have to take a measurement of the position, record it, and restore it back to the value, in theory

I don't have an answer, I would have to think about it and experiment.

A quick search gets this document.getElementById('box').scrollTop

Persisting the scroll position of a DIV on AJAX postbacks [^]

Maintain Scroll Position in Panel, Div[^]

http://michaelsync.net/2006/06/30/maintain-scroll-position-of-div-using-javascript-aspnet-20[^]

http://forums.asp.net/t/1359867.aspx[^]
AnswerRe: retain scrollbar position Pin
Sandeep Mewara18-Jul-12 19:37
mveSandeep Mewara18-Jul-12 19:37 
AnswerRe: retain scrollbar position Pin
Rajesh Buddaraju19-Jul-12 6:25
Rajesh Buddaraju19-Jul-12 6:25 
GeneralRe: retain scrollbar position Pin
Sandeep Mewara19-Jul-12 17:39
mveSandeep Mewara19-Jul-12 17:39 
GeneralRe: retain scrollbar position Pin
Trak4Net21-Jul-12 11:02
Trak4Net21-Jul-12 11:02 
GeneralRe: retain scrollbar position Pin
Sandeep Mewara21-Jul-12 19:49
mveSandeep Mewara21-Jul-12 19:49 
QuestionHelp Pin
laxman sindh18-Jul-12 5:12
laxman sindh18-Jul-12 5:12 
AnswerRe: Help Pin
Sandeep Mewara18-Jul-12 9:28
mveSandeep Mewara18-Jul-12 9:28 
GeneralProblem saving file to MySQL Pin
Jassim Rahma18-Jul-12 3:35
Jassim Rahma18-Jul-12 3:35 
GeneralRe: Problem saving file to MySQL Pin
Bernhard Hiller18-Jul-12 21:54
Bernhard Hiller18-Jul-12 21:54 
GeneralRe: Problem saving file to MySQL Pin
Jassim Rahma19-Jul-12 8:47
Jassim Rahma19-Jul-12 8:47 
QuestionPartialUpdatePanel with Dynamic UserControls Pin
vishnukamath18-Jul-12 2:36
vishnukamath18-Jul-12 2:36 
AnswerRe: PartialUpdatePanel with Dynamic UserControls Pin
Sandeep Mewara18-Jul-12 9:33
mveSandeep Mewara18-Jul-12 9:33 
AnswerRe: PartialUpdatePanel with Dynamic UserControls Pin
jkirkerx18-Jul-12 10:50
professionaljkirkerx18-Jul-12 10:50 
GeneralHow do I handle wrongly suffixed url of webpages? Pin
Ravi Sant18-Jul-12 1:47
Ravi Sant18-Jul-12 1:47 
AnswerRe: How do I handle wrongly suffixed url of webpages? Pin
Eddy Vluggen18-Jul-12 3:23
professionalEddy Vluggen18-Jul-12 3:23 
GeneralRe: How do I handle wrongly suffixed url of webpages? Pin
Ravi Sant19-Jul-12 9:46
Ravi Sant19-Jul-12 9:46 
GeneralRe: How do I handle wrongly suffixed url of webpages? Pin
ashjassi17-Aug-12 2:58
ashjassi17-Aug-12 2:58 

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.