My Page Keeps Moving Up. How to Solve this?

  • Thread starter Thread starter Shapper
  • Start date Start date
S

Shapper

Hello,

I have in my page a few Asp:ImageButtons and a few Asp:Panels.

When a button is pressed the function Show_Hide is called and a panel
visibility is set to true or false.

The problem is that the page moves up every time I do that.
Like it has been reloaded.

Is it possible to solve this?

Thanks,
Miguel
 
Try setting :-
smartnavigation = true
in you page directive
Hope that helps
Patrick
 
thats because it has been reloaded. pressing yourr hide button posts back to
the server, then runs your server code and the output is reloaded. you can
use client code instead, which does not require a postback.

-- bruce (sqlwork.com)
 

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

Back
Top