To perform scrolling on an Asp.net page

  • Thread starter Thread starter Anil Abraham
  • Start date Start date
A

Anil Abraham

I have an asp.net page, i want to set the cursor at a particular
postion on the click of abutton in an
Asp.ne tpage.

Can anyone help me in this matter

Thanks in advance
 
Hi. This is a client side problem, so do this:

<asp:button runat="server" OnClientClick="window.scrollTo(0, 500)" ... />

(if you want to scroll 500 pixels below the start of the web page).

To help more, we'd need to see the page. Showing it in your next post would
help a lot...

HTH
JDT
 

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