how to stop page from re-generating on button click

G

George Paiva

Hello,

I have a WebForm that dynamically adds rows to a table. In one of the
columns in the table, there is a dynamically added hyperlink button. The
buttons are added along with an event handle. This works fine. The
question is, when the button is clicked, the page is re-generated and
automatically scrolled back to the top. Is there a way to stop this? I
would like the page to remain at is position when the hyperlink button was
clicked.

Thanks,
George
 
J

Jos

George said:
Hello,

I have a WebForm that dynamically adds rows to a table. In one of the
columns in the table, there is a dynamically added hyperlink button.
The buttons are added along with an event handle. This works fine.
The question is, when the button is clicked, the page is re-generated
and automatically scrolled back to the top. Is there a way to stop
this? I would like the page to remain at is position when the
hyperlink button was clicked.

Thanks,
George

Set SmartNavigation="True"

Unfortunately, this will only work with recent IE clients.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top