Position after a Post Back.

  • Thread starter Thread starter KaNos
  • Start date Start date
K

KaNos

Hello Aspx World,
A big number items reapeater is used in a page. So a scrollbar is
always present. When I click a button in the n item, calling ItemCommand
event. The postback forget the position, I see the top of the page.
How to keep the item's position ?
Thanks for responses...
 
not sure if it will work but you could try....

<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<pages maintainScrollPositionOnPostBack="true"/> *******this line here
******


in your web.config files

hope it helps
 
AAJ a écrit :
not sure if it will work but you could try....

<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<pages maintainScrollPositionOnPostBack="true"/> *******this line here
******


in your web.config files

hope it helps

Really good Thanks
 
Back
Top