Position after a Post Back.

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...
 
A

AAJ

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
 
K

KaNos

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top