Click here to Skip to main content
12,690,140 members (25,183 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET Javascript
Hi,
I am setting div scroll postion on postback. it does but it flicker when set the scrollposion. What should i do to avoid flickering when set scroll position?
I am setting scroll position on javascript pageLoad method.
Posted 17-Jan-13 1:11am
amit_831.1K
Comments
shabari7 17-Jan-13 7:02am
   
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.2)" />
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.2)" />

in head tag works only for IE change duration and observe
amit_83 17-Jan-13 7:08am
   
it doesn't work

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Will you consider using ASP.Net Ajax Update panel as a solution? It supports partial page postback. You may put your web element inside this update panel, which is triggering the postback and the controls which are getting rendered as a part of that postback.

Please note that you will have to add AJAX Script manager at the top of the page to use update panel feature.

Use this link as guide to use AJAX update panel feature. Postback flickering will be reduced to a minimal zero after implementing this.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170117.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100